CVE-2023-3388 Beautiful Cookie Consent Banner <= 2.10.1 - Unauthenticated Stored Cross-Site Scripting

High 7.2 Published Updated

Unauthenticated attackers can inject arbitrary web scripts via the nsc_bar_content_href parameter in the Beautiful Cookie Consent Banner WordPress plugin.

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-2023-3388?

CVE-2023-3388 is a high-severity cross-site scripting vulnerability in nikelschubert Beautiful Cookie Consent Banner, published on 24 Jun 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Beautiful Cookie Consent Banner for WordPress is vulnerable to Stored Cross-Site Scripting via the 'nsc_bar_content_href' parameter in versions up to, and including, 2.10.1 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. A partial patch was made available in 2.10.1 and the issue was fully patched in 2.10.2.

Weakness: CWE-79

Which versions are affected by CVE-2023-3388?

It affects 1 product.

Products include Beautiful-Cookie-Banner Beautiful Cookie Consent Banner.

How do I fix CVE-2023-3388?

No fix has been published for CVE-2023-3388 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-2023-3388 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-3388 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-mc5q-54j2-f34q.

Is CVE-2023-3388 in your software?

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

Check your SBOMs for free