CVE-2026-97339 Cross-site scripting in Complianz GDPR/CCPA Cookie Consent Banner

High 7.2 Published Updated

Unauthenticated attackers can inject arbitrary scripts via comments, leading to stored XSS when the plugin's output filter processes the content.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-97339?

CVE-2026-97339 is a high-severity cross-site scripting vulnerability in Complianz GDPR/CCPA Cookie Consent Banner, published on 16 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Complianz GDPR/CCPA Cookie Consent Banner plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Content via yotu-wp Cookie-Blocker Filter in all versions up to, and including, 7.5.5 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The exploit bypasses WordPress's wp_kses comment sanitization because the payload uses only allow-listed tags and hides executable tokens inside quoted attribute values as plain text; the XSS is only realized when Complianz's own output-buffer filter performs str_replace() rewrites that break out of the attribute context, and requires the comment to be approved before it executes for visitors.

Weakness: CWE-79

Which versions are affected by CVE-2026-97339?

How do I fix CVE-2026-97339?

No fix has been published for CVE-2026-97339 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-97339 being exploited?

There is no known exploitation of CVE-2026-97339 in the wild and no public exploit code.

Sources

Also known as GHSA-h8f6-jw33-7cr8.

Is CVE-2026-97339 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free