# OOPSpam Anti-Spam: Spam Protection for WordPress Forms & Comments (No CAPTCHA) <= 1.2.91 - Cross-Site Request Forgery to Spam and Ham Entry Bulk Actions

- **ID:** WPSEC-2026-4186
- **Plugin:** oopspam Anti-Spam: Spam Protection for WordPress Forms & Comments (No CAPTCHA) (`oopspam-anti-spam`), https://wordpress.org/plugins/oopspam-anti-spam/
- **Affected versions:** from 1.1.14 before 1.2.92
- **Fixed in:** 1.2.92 (Update to 1.2.92 or later.)
- **Severity:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-352
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-28)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/oopspam-anti-spam
- **Fix released:** 2026-11-27
- **Published:** 2026-11-28
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4186/

## Description

The oopspam Anti-Spam plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.2.91. This is due to missing or incorrect nonce validation in the process_bulk_action() function of the Spam Entries and Valid Entries screens: the nonce was only checked when the _wpnonce parameter was present, so a request without it skipped the check. This makes it possible for unauthenticated attackers to delete logged spam and valid entries, mark spam entries as not spam (which also adds the sender's email and IP address to the plugin's allowlist), or report and un-report entries with a forged request, granted they can trick a site administrator into performing an action such as clicking on a link.

## References

- https://wpsec.com/vuln/WPSEC-2026-4186/
- https://plugins.svn.wordpress.org/oopspam-anti-spam/tags/1.2.92/
- https://wordpress.org/plugins/oopspam-anti-spam/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4186/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
