CVE-2026-120477Webguyio Stop Spammers Classic cross-site scripting (XSS)
CVSS score
4.7
Medium
CVSS 3.1 from wordfence.com
Exploit probability (EPSS)
0.31%
0.31% chance of exploitation in the next 30 days, higher than 23.8% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security@wordfence.com
How to fix it, step by step
Check whether you're affected
Find every system running webguyio Stop Spammers Classic and compare its version with the affected versions.
Watch for an official fix
No fix or advisory is listed in the official record yet. Follow the vendor's security announcements; this page updates when one is published.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected products
| Affected products | Versions |
|---|---|
| webguyio Stop Spammers Classic | ≤ 2026.6 |
Weakness
- CWE-79 cross-site scripting (XSS)
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-120477 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-120477?
CVE-2026-120477 has a CVSS 3.1 base score of 4.7 (medium).
Which versions are affected?
Webguyio Stop Spammers Classic (≤ 2026.6)
Is there a patch for CVE-2026-120477?
No patch is linked in the official record yet. Watch the vendor's security advisories.
References
- plugins.trac.wordpress.org/browser/stop-spammer-registrations-plugin/trunk/classes/ss_log_bad.php#L63
- plugins.trac.wordpress.org/browser/stop-spammer-registrations-plugin/trunk/settings/ss_reports.php#L165
- plugins.trac.wordpress.org/browser/stop-spammer-registrations-plugin/trunk/stop-spammer-registrations-new.php#L323
- plugins.trac.wordpress.org/browser/stop-spammer-registrations-plugin/trunk/stop-spammer-registrations-new.php#L600
- plugins.trac.wordpress.org/changeset?reponame=&old=3784211%40stop-spammer-registrations-plugin&new=3784211%40stop-spammer-registrations-plugin
- www.wordfence.com/threat-intel/vulnerabilities/id/29fe0bc9-b460-4158-86fc-ad2980cc827a?source=cve
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.