Vulnerability · Published Sep 23, 2024 · Assigned by GitHub_M
CVE-2024-47069Oveleon Cookiebar reflected Cross-site Scripting vulnerability
Medium 6.1
In plain English
A medium-severity cross-site scripting in contao-cookiebar from oveleon. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | oveleon/contao-cookiebar | 1.16.3 | GHSA-296q-rj83-g9rq |
| Packagist | oveleon/contao-cookiebar | 2.1.3 | GHSA-296q-rj83-g9rq |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| oveleon | contao-cookiebar | < 1.16.3>= 2.0.0, < 2.1.3 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/oveleon/contao-cookiebar/security/advisories/GHSA-296q-rj83-g9rq x_refsource_CONFIRM
- https://github.com/oveleon/contao-cookiebar/commit/1d57470be5878f66d5e1e23f624dd387564b9b8d x_refsource_MISC
- https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html x_refsource_MISC
- https://github.com/oveleon/contao-cookiebar/blob/2.x/src/Controller/CookiebarController.php x_refsource_MISC