CVE-2026-120477 · Package
NO FIX YET
The Stop Spammers Classic WordPress plugin up to version 2026.6 stores an unauthenticated 'author' value in its log and later renders it unsafely in the admin Log Report page. An attacker can inject JavaScript that runs in an administrator's browser when they click the 'Report to SFS' link on a poisoned log row.
first public Nov 7, 2026 · 1 source
Check it with your coding agent
It checks your repository and tells you if you’re affected, with the fix.
Sites running the Stop Spammers Classic plugin up to and including 2026.6 where the StopForumSpam API key is configured, so the 'Report to SFS' link appears on the Log Report page. Exploitation needs an administrator with manage_options to click that link, so sites without the API key configured or without the plugin are not exposed.
Not affected if api-key-not-configured, plugin-newer-than-2026.6, plugin-not-installed
Who cares self-hosted, wordpress, wordpress-plugin
2026.6 and earlier are affected.No fix yet, per the sources.
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.
This page as .md · .json · CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.
Are you affected?
Tell InfraStack what you run. It checks this one, and every next one, against your stack.
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.