CVE-2021-4252 WP-Ban ban-options.php toggle_checkbox cross site scripting
A cross-site scripting vulnerability in the WP-Ban WordPress plugin allows remote attackers to inject malicious scripts via the User-Agent header.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-4252?
CVE-2021-4252 is a low-severity cross-site scripting vulnerability in unspecified WP-Ban, published on 18 Dec 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A vulnerability, which was classified as problematic, has been found in WP-Ban. This issue affects the function toggle_checkbox of the file ban-options.php. The manipulation of the argument $_SERVER["HTTP_USER_AGENT"] leads to cross site scripting. The attack may be initiated remotely. The name of the patch is 13e0b1e922f3aaa3f8fcb1dd6d50200dd693fd76. It is recommended to apply a patch to fix this issue. The identifier VDB-216209 was assigned to this vulnerability.
Weakness: CWE-707
Which versions are affected by CVE-2021-4252?
It affects 1 product.
Products include Wp-Ban Project Wp-Ban.
How do I fix CVE-2021-4252?
No fix has been published for CVE-2021-4252 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-4252 being exploited?
There is no known exploitation of CVE-2021-4252 in the wild and no public exploit code.
Other vulnerabilities in unspecified WP-Ban
Sources
Also known as GHSA-q9f9-65vf-f4jf.