# CVE-2021-24405: Easy Cookie Policy <= 1.6.2 - Broken Access Control to Stored Cross-Site Scripting

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/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): 10.7%, higher than 95% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-07-06T11:03:31.000Z
- Modified: 2026-06-17T03:39:58.407Z
- Weaknesses: CWE-863
- Assigned by: WPScan

## Description

The Easy Cookies Policy WordPress plugin through 1.6.2 is lacking any capability and CSRF check when saving its settings, allowing any authenticated users (such as subscriber) to change them. If users can't register, this can be done through CSRF. Furthermore, the cookie banner setting is not sanitised or validated before being output in all pages of the frontend and the backend settings one, leading to a Stored Cross-Site Scripting issue.

(As written by CVE List.)

## Affected

- IZSoft Easy Cookies Policy: from 1.6.2 up to 1.6.2
- izsoft easy_cookies_policy: up to 1.6.2

## Every score

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

## References

- <https://wpscan.com/vulnerability/9157d6d2-4bda-4fcd-8192-363a63a51ff5> (exploit, third-party-advisory)
- <http://packetstormsecurity.com/files/166543/WordPress-Easy-Cookie-Policy-1.6.2-Cross-Site-Scripting.html> (exploit, third-party-advisory, vdb-entry)

## Sources

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

---

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