CVE-2024-47069 Oveleon Cookiebar reflected Cross-site Scripting vulnerability

Medium 6.1 Published Updated

Attackers can execute arbitrary scripts in the backend via unsanitized locale input in the Oveleon Cookie Bar plugin for Contao CMS.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-47069?

CVE-2024-47069 is a medium-severity cross-site scripting vulnerability in oveleon contao-cookiebar, published on 23 Sep 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Oveleon Cookie Bar is a cookie bar is for the Contao Open Source CMS and allows a visitor to define cookie & privacy settings for the website. Prior to versions 1.16.3 and 2.1.3, the `block/locale` endpoint does not properly sanitize the user-controlled `locale` input before including it in the backend's HTTP response, thereby causing reflected cross-site scripting. Versions 1.16.3 and 2.1.3 contain a patch for the vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2024-47069?

4 open source packages ship an affected version, including oveleon/contao-cookiebar. It affects 1 product.

PackageAffectedFixed in
oveleon/contao-cookiebar PackagistAll versions1.16.3
oveleon/contao-cookiebar PackagistAll versions1.16.3
oveleon/contao-cookiebar PackagistFrom 2.0.02.1.3
oveleon/contao-cookiebar PackagistFrom 2.0.02.1.3

Products include Oveleon Cookiebar.

How do I fix CVE-2024-47069?

Upgrade oveleon/contao-cookiebar to a fixed version for your release line: 1.16.3 or 2.1.3.

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-2024-47069 being exploited?

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

Sources

Also known as GHSA-296q-rj83-g9rq.

Is CVE-2024-47069 in your software?

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

Check your SBOMs for free