Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. oveleon/contao-cookiebar
  4. ›
  5. GHSA-296q-rj83-g9rq

GHSA-296q-rj83-g9rq: Reflected Cross Site-Scripting (XSS) in Oveleon Cookiebar

July 26, 2024

usd-2024-0009 | Reflected XSS in Oveleon Cookiebar

Details

Advisory ID: usd-2024-0009 Product: Cookiebar
Affected Version: 2.X
Vulnerability Type: CWE-79: Improper Neutralization of Input During Web Page Generation (‘Cross-site Scripting’)
Security Risk: HIGH, CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N
Vendor URL: https://www.usd.de/
CVE Number: Not requested yet
CVE Link: Not requested yet

Affected Component

The block function in CookiebarController.php.

Desciption

Oveleon’s Cookiebar is an extension for the popular Contao CMS. 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 XSS.

Fix

Sanitize the locale input to prevent XSS payloads from being executed in a user’s browser.

Timeline

  • 2024-04-24: Vulnerability discovered by Daniel Ruppel of usd AG.

  • 2024-07-25: Probable cause of the vulnerability has been identified as Oveleon’s Cookiebar Extension for Contao CMS.

  • 2024-07-25: Vulnerability disclosed via GitHub Vulnerability Report.

References

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

Code Behaviors & Features

Detect and mitigate GHSA-296q-rj83-g9rq with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.16.3, all versions starting from 2.0.0 before 2.1.3

Fixed versions

  • 1.16.3
  • 2.1.3

Solution

Upgrade to versions 1.16.3, 2.1.3 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/oveleon/contao-cookiebar/GHSA-296q-rj83-g9rq.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:38 +0000.