# CVE-2022-3399: Cookie Notice & Compliance for GDPR / CCPA <= 2.4.17.1 - Authenticated (Admin+) Stored Cross-Site Scripting

- Severity: Medium 4.4 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/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): 0.37%, higher than 32% of CVEs (2026-12-01)
- Published: 2024-08-16T02:31:26.402Z
- Modified: 2026-06-17T04:59:27.507Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## Description

The Cookie Notice & Compliance for GDPR / CCPA plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'cookie_notice_options[refuse_code_head]' parameter in versions up to, and including, 2.4.17.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrative privileges and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses the injected /wp-admin/admin.php?page=cookie-notice page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

(As written by CVE List.)

## Affected

- humanityco Cookie Notice & Compliance for GDPR / CCPA: up to 2.4.17.1

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/73fd35b4-16b3-4f57-a3e4-46e4de0ee822?source=cve>
- <https://plugins.trac.wordpress.org/changeset/3134120/cookie-notice/trunk/includes/settings.php>
- <https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3134120%40cookie-notice%2Ftrunk&old=3101664%40cookie-notice%2Ftrunk&sfp_email=&sfph_mail=>

## Sources

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

---

Page: https://cve.day/CVE-2022-3399 · Whole record: https://cve.day/CVE-2022-3399.json · Rebuilt by cve.day 2026-11-25T22:58:19.932Z
