{"id":"CVE-2021-24595","aliases":["EUVD-2021-11507","GHSA-qc26-5j5x-3jw8"],"status":"published","title":"WP Cookie Choice \u003c= 1.1.0 - CSRF to Stored Cross-Site Scripting","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.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00526,"percentile":0.44896,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-352","CWE-79"],"published":"2021-10-18T13:45:44Z","modified":"2026-06-17T03:40:17Z","products":[{"vendor":"unknown","product":"wp cookie choice"},{"vendor":"wp_cookie_choice_project","product":"wp_cookie_choice"}],"references":[{"url":"https://wpscan.com/vulnerability/c809bdb3-d820-4ce1-9cbc-e41985fb5052","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24595"},{"url":"https://github.com/advisories/GHSA-qc26-5j5x-3jw8"}],"sources":{"cve":[{"id":"CVE-2021-24595","title":"WP Cookie Choice \u003c= 1.1.0 - CSRF to Stored Cross-Site Scripting","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.","status":"published","published":"2021-10-18T13:45:44Z","modified":"2024-08-03T19:35:20.227Z","cwes":["CWE-352","CWE-79"],"updated_at":"2026-11-02T14:33:05.000797Z"}],"euvd":[{"id":"EUVD-2021-11507","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.","status":"published","published":"2021-10-18T13:45:44Z","modified":"2024-08-03T19:35:20Z","updated_at":"2026-11-03T03:24:56.857735Z"}],"ghsa":[{"id":"GHSA-qc26-5j5x-3jw8","title":"The Wp Cookie Choice WordPress plugin through 1.1.0 is lacking any CSRF check when saving its...","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.","status":"published","published":"2022-05-24T19:17:49Z","modified":"2023-01-27T05:03:52Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:42:20.442744Z"}],"nvd":[{"id":"CVE-2021-24595","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.","status":"published","published":"2021-10-18T14:15:09.157Z","modified":"2026-06-17T03:40:17.893Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79","CWE-352"],"updated_at":"2026-11-02T14:06:59.689345Z"}]}}
