Skip to content
Laskyr

CVE-2026-120477: Stop Spammers Classic stored cross-site scripting (XSS) vulnerability

published 2026-11-07

4.7 Medium CVSS 3.1

The record does not say which version fixes it

Stop Spammers Classic 2026.6 and older is affected by this stored XSS issue. The latest release (2026.7) is outside the affected range.

Affected versions
2026.6 and older
Fixed in
unknown
Latest version
2026.7
Active installs
20,000+
Type
Stored cross-site scripting (XSS)

What to do now

  1. Update Stop Spammers Classic to the latest version (2026.7). The record does not name a fixed version, so also read the advisory below.
  2. If you cannot update right away, deactivate it until you can.
  3. Not sure which version you run? Check your version against every known Stop Spammers Classic issue. With WP-CLI: wp plugin get stop-spammer-registrations-plugin --field=version.
  4. If you ran an affected version and something looks off (new admin users, spam pages, redirects), run the free scan below.

Is your site exposed to CVE-2026-120477?

  1. Are you on an affected version? Compare your Stop Spammers Classic version with every known issue on record. Check my version
  2. Has your site already been hit? The free scan looks for signs of a hack from the outside. It cannot see plugin versions or test for this bug.
  3. Already hacked? Flat $499 for a standard cleanup. Nothing is charged until we have looked at your site and confirmed the job. See how cleanup works

What an attacker needs

Technical details

Weakness

Stored cross-site scripting (XSS) CWE-79

Text an attacker supplies is saved by the software and later shown to other people without being made safe, so their browser runs it as script.

The script runs as whoever views the page. If that is an administrator, it can act with their access, for example by creating accounts or changing settings.

General description of this issue type. The advisory below covers this bug.

CVSS 3.1 breakdown

Attack vector
Network (remote)
Attack complexity
High
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality impact
Low
Integrity impact
Low
Availability impact
None

CVSS vector (scored by Wordfence): CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

The advisory

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.

Description from the CVE record, published by Wordfence (the CVE Numbering Authority), via the NVD entry for CVE-2026-120477.

References

How Laskyr cleans up a site hacked through Stop Spammers Classic

We confirm the job by email before any payment, remove the infection, harden the site and report how they got in. A standard cleanup is $499 with a 30-day reinfection guarantee. Bigger jobs get a written estimate first, and nothing more is charged unless you approve it. Full details.

Related

Ran an affected version? Run the free scan for signs of a hack.

Where this data comes from

First hour checklist

If the site was just hacked, read the emergency kit before you delete files. The page is free. Email is optional.

Read the emergency kit

The box is optional and does not affect the kit. Privacy policy.