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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| oveleon | contao-cookiebar | < 1.16.3, >= 2.0.0, < 2.1.3 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | oveleon/contao-cookiebar | < 1.16.3 | 1.16.3 | GHSA-296q-rj83-g9rq |
| Packagist | oveleon/contao-cookiebar | >= 2.0.0, < 2.1.3 | 2.1.3 | GHSA-296q-rj83-g9rq |
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