# CVE-2021-24595: WP Cookie Choice <= 1.1.0 - CSRF to Stored Cross-Site Scripting

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/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.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2021-10-18T13:45:44.000Z
- Modified: 2026-06-17T03:40:17.893Z
- Weaknesses: CWE-79, CWE-352
- Assigned by: WPScan

## Description

The Wp Cookie Choice WordPress plugin through 1.1.0 is lacking any CSRF check when saving its options, and do not escape them when outputting them in attributes. As a result, an attacker could make a logged in admin change them to arbitrary values including XSS payloads via a CSRF attack.

(As written by CVE List.)

## Affected

- Unknown Wp Cookie Choice: from 1.1.0 up to 1.1.0
- wp_cookie_choice_project wp_cookie_choice: up to 1.1.0

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://wpscan.com/vulnerability/c809bdb3-d820-4ce1-9cbc-e41985fb5052> (third-party-advisory)

## Sources

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

---

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