WP Spell Check <= 12.5 - Reflected Cross-Site Scripting via Results Page Messages
- ID
- WPSEC-2026-4346
- Plugin
- WP Spell Check (wp-spell-check)
- Affected
- all versions before 12.6
- Remediation
- Update to 12.6 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-12-01
- Attack surface
- WP Spell Check on WPSec AttackSurface
- Fix released
- Published
Description
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.
References
- https://wpsec.com/vuln/WPSEC-2026-4346/
- https://plugins.svn.wordpress.org/wp-spell-check/tags/12.6/
- https://wordpress.org/plugins/wp-spell-check/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS