CVE-2021-24245 Stop Spammers < 2021.9 - Reflected Cross-Site Scripting (XSS)
Reflected XSS in Stop Spammers plugin allows attackers to execute arbitrary scripts via unescaped user input in blocking requests.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-24245?
CVE-2021-24245 is a medium-severity cross-site scripting vulnerability in Trumani Stop Spammers, published on 5 May 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2021-24245?
It affects 1 product.
Products include Trumani Stop Spammers.
How do I fix CVE-2021-24245?
No fix has been published for CVE-2021-24245 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2021-24245 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24245 exists.
Public exploit code: 1 Exploit-DB entry and 1 Nuclei template.
Other vulnerabilities in Trumani Stop Spammers
Sources
Also known as GHSA-7vc8-gc65-8vpf.