Contao: Insufficient BBCode sanitizer
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | contao/comments-bundle | >= 2.0.0, < 4.13.40, >= 5.0.0-RC1, < 5.3.4 | 4.13.40, 5.3.4 |
References
- https://github.com/contao/contao/security/advisories/GHSA-j55w-hjpj-825g
- https://nvd.nist.gov/vuln/detail/CVE-2024-28234
- https://github.com/contao/contao/commit/55b995d8d35da0d36bc6a22c53fe6423ab0c4ae2
- https://github.com/contao/contao/commit/6d42e667177c972ae7c219645593c262d7764ce2
- https://contao.org/en/security-advisories/insufficient-bbcode-sanitization
- https://github.com/contao/contao
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N- Weakness (CWE)
CWE-74- Platform
- Composer
- Package
contao/comments-bundle- Disclosed
- 09.04.2024
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-j55w-hjpj-825g - CC BY 4.0
Vulnerability history: contao/comments-bundle
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 04.2024 10.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- Medium 1
Disclosures per year
- 2024: 1
- 2025: 0
- 2026: 1
-
Contao: Insufficient BBCode sanitizer this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.