{"id":"CVE-2021-24405","published":"2021-07-06T11:03:31Z","modified":"2024-08-03T19:28:23Z","title":"Easy Cookie Policy <= 1.6.2 - Broken Access Control to Stored Cross-Site Scripting","vendor":"IZSoft","product":"Easy Cookies Policy","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.10703,"percentile":0.95932,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://wpscan.com/vulnerability/9157d6d2-4bda-4fcd-8192-363a63a51ff5","tags":["x_refsource_CONFIRM"]},{"url":"http://packetstormsecurity.com/files/166543/WordPress-Easy-Cookie-Policy-1.6.2-Cross-Site-Scripting.html","tags":["x_refsource_MISC"]}],"priority":{"score":24.2,"factors":[{"name":"EPSS percentile","points":19.19},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2022-03-30"},"first":{"date":"2022-03-30","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/50849"},"provenance":"source"},"vendorSlug":"izsoft","affectedVersions":[{"vendor":"IZSoft","product":"Easy Cookies Policy","versions":[">= 1.6.2, <= 1.6.2"]}],"summary":{"text":"The Easy Cookies Policy WordPress plugin (IZSoft) through version 1.6.2 fails to check user capabilities or CSRF tokens when saving its settings, and its cookie banner setting is neither sanitised nor validated before being output on frontend and backend settings pages. An attacker with any authenticated account, such as a subscriber, can alter these settings, and where user registration is disabled the change can instead be triggered via CSRF; the injected banner content then executes as stored cross-site scripting in the browsers of visitors and administrators.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:52:12Z"},"euvd":{"id":"EUVD-2021-11317","exploited":false,"provenance":"source"},"exploits":[{"id":50849,"url":"https://www.exploit-db.com/exploits/50849","title":"WordPress Plugin Easy Cookie Policy 1.6.2 - Broken Access Control to Stored Cross-Site Scripting (XSS)","date":"2022-03-30","verified":false,"provenance":"source"}],"exploitRefs":["http://packetstormsecurity.com/files/166543/WordPress-Easy-Cookie-Policy-1.6.2-Cross-Site-Scripting.html"]}