nday
CVE-2021-24405

Easy Cookie Policy <= 1.6.2 - Broken Access Control to Stored Cross-Site Scripting

IZSoft / Easy Cookies Policy

A public PoC appeared 267 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: exploitdb. Not in CISA KEV.

tags weakness typebroken access control accessnetworkno user interaction exploitationExploit-DB
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

broken access control
CWE-863, stated by the CNA WPScan and NVD, republishing [email protected]
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N (CVSS 3.1) from NVD's analysts
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N (CVSS 3.1) from NVD's analysts
Exploit-DB
Exploit-DB entries 50849
stage
POC
disclosed
disclosure → PoC
T+267d POC is date-only
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2021-07-06T11:03Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2022-03-30, date only
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Event log

+DISdisclosed

CVE record published by WPScan.

src cvelist · nday , bulk import · raw
{
  "id": 62988,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2021-24405",
  "occurred_at": "2021-07-06T11:03:31Z",
  "observed_at": "2026-11-12T20:03:12.555163Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2021-07-06T11:03:31.000Z",
    "assigner_short_name": "WPScan"
  }
}
2022-03-30date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “WordPress Plugin Easy Cookie Policy 1.6.2 - Broken Access Control to Stored XSS” (EDB-50849).

src exploitdb 50849 · nday , bulk import · raw
{
  "id": 41347,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/50849",
  "occurred_at": "2022-03-30T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "50849",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/50849",
    "file": "exploits/php/webapps/50849.txt",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "WordPress Plugin Easy Cookie Policy 1.6.2 - Broken Access Control to Stored XSS",
    "author": "0xB9",
    "edb_id": 50849,
    "cve_ids": [
      "CVE-2021-24405"
    ],
    "platform": "php",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2022-03-30",
    "date_updated": "2022-03-30",
    "date_published": "2022-03-30"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.