What’s Vulnerable › Vulnerabilities
CVE-2021-4252: WP-Ban ban-options.php toggle_checkbox cross site scripting
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-12-18 · updated 2026-06-17
- Weakness: CWE-707
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.
Affected products
- WP-Ban: before 2021-11-24 — fixed in 2021-11-24
How to fix
Upgrade to a fixed version: WP-Ban 2021-11-24. Check the vendor advisory for mitigations.
References
- https://github.com/lesterchan/wp-ban/commit/13e0b1e922f3aaa3f8fcb1dd6d50200dd693fd76
- https://github.com/lesterchan/wp-ban/pull/11
- https://vuldb.com/?id.216209
- https://github.com/lesterchan/wp-ban/commit/13e0b1e922f3aaa3f8fcb1dd6d50200dd693fd76
- https://github.com/lesterchan/wp-ban/pull/11
- https://vuldb.com/?id.216209
Get alerted when CVE-2021-4252 or the next vulnerability affects your stack