LiveActive security incident?Get immediate response
CVE Record

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

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.

MediumCVSS 4.4Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

A WordPress cookie-consent plugin allowed an administrator-level user to save script into a plugin setting. That script could run when the Cookie Notice admin page is viewed. This is not an anonymous internet compromise; the attacker needs high privileges and the issue only applies in narrower WordPress configurations.

Executive priority

Treat as a moderate-priority hygiene fix. It has constrained exploitability because admin access is required, but stored XSS in administrative WordPress pages can create follow-on risk in shared-admin or multisite environments.

Technical view

CVE-2022-3399 is stored XSS in Cookie Notice & Compliance for GDPR / CCPA through cookie_notice_options[refuse_code_head]. Versions up to 2.4.17.1 lacked sufficient sanitization and output escaping. Execution occurs on /wp-admin/admin.php?page=cookie-notice. CVSS is 4.4 with high privileges and high attack complexity.

Likely exposure

Exposure is limited to WordPress sites using the affected plugin at version 2.4.17.1 or earlier, specifically multisite installations or sites where unfiltered_html is disabled. Practical risk is highest where many administrators or delegated site admins can edit plugin settings.

Exploitation context

The source bundle does not cite active exploitation, and KEV is false. Exploitation requires authenticated administrator-level access, so this is mainly a post-compromise, insider, or delegated-admin abuse risk rather than a broad unauthenticated attack path.

Researcher notes

The bundle identifies the vulnerable parameter, affected range, privilege requirement, and configuration limits. It references a WordPress Trac changeset, but does not explicitly state a fixed release number. Validate remediation against vendor or WordPress plugin release history before closure.

Mitigation direction

  • Upgrade the plugin beyond the affected version range using official vendor guidance.
  • Review WordPress administrator accounts and remove unnecessary elevated access.
  • Confirm multisite and unfiltered_html exposure assumptions for affected sites.
  • Monitor vendor and WordPress plugin advisories for fixed-version confirmation.
  • Prioritize remediation on sites with delegated or many administrator users.

Validation and detection

  • Inventory WordPress sites using Cookie Notice & Compliance for GDPR / CCPA.
  • Check whether installed plugin versions are 2.4.17.1 or earlier.
  • Identify whether each site is multisite or has unfiltered_html disabled.
  • Review plugin settings access logs where available for suspicious admin changes.
  • Verify the referenced patch or later vendor release is deployed.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-3399 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
4.4 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
4.4CVSS 3.1MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N1.32.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

4.4Medium
CVSS 3.1 vector shape for CVE-2022-3399Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
humanitycoCookie Notice & Compliance for GDPR / CCPA0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.