# CVE-2021-4252: WP-Ban ban-options.php toggle\_checkbox cross site scripting

- Priority: **Routine**
- Reason: Not severe (CVSS 3.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-12-18 · Modified: 2025-04-15
- Record: https://cvemate.com/vulnerability/CVE-2021-4252 · JSON: https://cvemate.com/vulnerability/CVE-2021-4252/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.514%, percentile 45.355%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- unspecified wp-ban: n/a
- wp-ban\_project wp-ban: \< 2021-11-24

## References

- <https://github.com/lesterchan/wp-ban/pull/11>
- <https://github.com/lesterchan/wp-ban/commit/13e0b1e922f3aaa3f8fcb1dd6d50200dd693fd76>
- <https://vuldb.com/?id.216209>

---

Data as of 2026-12-05T04:20:45.135Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
