MEDIUM4.3
GHSA-j55w-hjpj-825g
Contao: Insufficient BBCode sanitizer
Quick fix
GHSA-j55w-hjpj-825g — contao/comments-bundle: upgrade to the fixed version with the command below.
composer require contao/comments-bundle:^4.13.40Details
### Impact
If BBCode is enabled for comments, users can inject CSS styles.
### Patches
Update to Contao 4.13.40 or 5.3.4.
### Workarounds
Disable BBCode for comments.
### References
https://contao.org/en/security-advisories/insufficient-bbcode-sanitization
### For more information
If you have any questions or comments about this advisory, open an issue in [contao/contao](https://github.com/contao/contao/issues/new/choose).
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/contao/comments-bundle
Introduced in:
2.0.0Fixed in: 4.13.40Fix
composer require contao/comments-bundle:^4.13.40Packagist/contao/comments-bundle
Introduced in:
5.0.0-RC1Fixed in: 5.3.4Fix
composer require contao/comments-bundle:^5.3.4References
- https://github.com/contao/contao/security/advisories/GHSA-j55w-hjpj-825g[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2024-28234[ADVISORY]
- https://github.com/contao/contao/commit/55b995d8d35da0d36bc6a22c53fe6423ab0c4ae2[WEB]
- https://github.com/contao/contao/commit/6d42e667177c972ae7c219645593c262d7764ce2[WEB]
- https://contao.org/en/security-advisories/insufficient-bbcode-sanitization[WEB]
- https://github.com/contao/contao[PACKAGE]