# CVE-2021-4252: WP-Ban ban-options.php toggle_checkbox cross site scripting

- Severity: Low 3.5 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2022-12-18T00:00:00.000Z
- Modified: 2026-06-17T04:19:21.427Z
- Weaknesses: CWE-707
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- unspecified WP-Ban: n/a
- wp-ban_project wp-ban: before 2021-11-24

## Every score

- VulDB: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/lesterchan/wp-ban/pull/11> (patch, third-party-advisory)
- <https://github.com/lesterchan/wp-ban/commit/13e0b1e922f3aaa3f8fcb1dd6d50200dd693fd76> (patch, third-party-advisory)
- <https://vuldb.com/?id.216209> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-4252](https://www.cve.org/CVERecord?id=CVE-2021-4252), CVE Terms of Use, modified 2025-04-15
- NVD: [CVE-2021-4252](https://nvd.nist.gov/vuln/detail/CVE-2021-4252), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-4252 · Whole record: https://cve.day/CVE-2021-4252.json · Rebuilt by cve.day 2026-11-25T22:58:07.952Z
