{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4346",
 "modified": "2026-12-01T22:45:29Z",
 "published": "2026-12-01T22:45:29Z",
 "summary": "WP Spell Check <= 12.5 - Reflected Cross-Site Scripting via Results Page Messages",
 "details": "The WP Spell Check plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'old_words' and 'new_words' parameters on the spelling results page in all versions up to, and including, 12.5, due to the success message being escaped with esc_html() and then decoded again with htmlspecialchars_decode(). HTML entities in the submitted words survive sanitize_text_field() and are turned back into markup on output. Because the word update action also did not require a nonce, this makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can trick an administrator into clicking a crafted link.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "wp-spell-check"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "12.6"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 12.6"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4346/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/wp-spell-check/tags/12.6/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/wp-spell-check/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4346/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
