# Anti-Spam by Fullworks <= 3.1.0 - Authenticated (Administrator+) Stored Cross-Site Scripting via Allow/Deny List CSV Import

- **ID:** WPSEC-2026-4587
- **Plugin:** Anti-Spam Protection – No API Key, GDPR Friendly (`fullworks-anti-spam`), https://wordpress.org/plugins/fullworks-anti-spam/
- **Affected versions:** all versions before 3.1.1
- **Fixed in:** 3.1.1 (Update to 3.1.1 or later.)
- **Severity:** Medium 4.4 (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-12-04)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/fullworks-anti-spam
- **Fix released:** 2026-12-03
- **Published:** 2026-12-04
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4587/

## Description

The Anti-Spam Protection plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the value column of the allow/deny list CSV import in all versions up to, and including, 3.1.0. This is due to imported rule values not being sanitized (a value only has to be a valid regular expression) and the allow/deny list table and its edit handler outputting rule values without escaping. This makes it possible for authenticated attackers, with administrator-level access and above, to inject arbitrary web scripts in the allow/deny list page that execute whenever a user accesses it. This only affects multi-site installations and installations where unfiltered_html has been disabled.

## References

- https://wpsec.com/vuln/WPSEC-2026-4587/
- https://plugins.svn.wordpress.org/fullworks-anti-spam/tags/3.1.1/
- https://wordpress.org/plugins/fullworks-anti-spam/

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

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.
