CVE-2026-120477
Last modified
CVE-2026-120477 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. The Stop Spammers Classic plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'author' POST parameter in versions up to, and including, 2026.6. An unauthenticated POST handled on init stores the attacker-supplied author field (after sanitize_text_field, which does not escape single quotes) into the ss_stop_sp_reg_stats option history. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
Description
The Stop Spammers Classic plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'author' POST parameter in versions up to, and including, 2026.6. An unauthenticated POST handled on init stores the attacker-supplied author field (after sanitize_text_field, which does not escape single quotes) into the ss_stop_sp_reg_stats option history. The Log Report admin page then renders that stored value inside a single-quoted JavaScript string within a double-quoted onclick attribute using esc_js(); because esc_js() uses _wp_specialchars with ENT_COMPAT it does not escape single quotes, allowing the stored value to break out of the JS string literal and inject arbitrary JavaScript. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute whenever an administrator with manage_options access clicks the 'Report to SFS' link on an attacker-poisoned log row (the StopForumSpam API key must be configured for that link to be rendered — the field is empty by default). Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-120477?
How severe is CVE-2026-120477?
How do I fix CVE-2026-120477?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-120468Joomla Extension - acymailing.com - Unauthenticated disclosu…6.9
- CVE-2026-120469Joomla / WordPress Extension - acymailing.com - Open redirec…5.1
- CVE-2026-12047HTML injection in pgAdmin 4's cloud deployment module. The v…5.4
- CVE-2026-120470Joomla / WordPress Extension - acymailing.com - Online versi…6.9
- CVE-2026-120471Joomla Extension - acymailing.com - Site modules rendered ou…6.9
- CVE-2026-120474undici is an HTTP client for Node.js. In versions 7.0.0 thro…6.5
- CVE-2026-120479The WP Data Access – App Builder for Tables, Forms, Dashboar…6.4
- CVE-2026-12048Stored cross-site scripting in pgAdmin 4's error-rendering a…5.4
- CVE-2026-120484Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2026-120487LaraDashboard before 1.4.5 contains an incorrect authorizati…7.2
- CVE-2026-120488LaraDashboard before 1.4.9 contains a stored cross-site scri…5.4
- CVE-2026-120489Outline before 1.12.0 contains an incorrect authorization vu…4.3
Are you affected by CVE-2026-120477?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
