CVE-2024-28234
MEDIUM 4.7CVSS 3.1Contao: Insufficient BBCode sanitizer
Contao is an open source content management system. Starting in version 2.0.0 and prior to versions 4.13.40 and 5.3.4, it is possible to inject CSS styles via BBCode in comments. Installations are only affected if BBCode is enabled. Contao versions 4.13.40 and 5.3.4 have a patch for this issue. As a workaround, disable BBCode for comments.
- Published
- 9 Apr 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-74
- Also known as
- GHSA-j55w-hjpj-825g
- Sources
- NVDJSONOSV GHSA-j55w-hjpj-825gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | contao | contaocpe:2.3:a:contao:contao:*:*:*:*:*:*:*:* |
>= 2.0, < 4.13.40 | 4.13.40 |
| NVD | contao | contaocpe:2.3:a:contao:contao:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.3.4 | 5.3.4 |
| OSV | Packagist | contao/comments-bundle | >= 2.0.0, < 4.13.40 | 4.13.40 |
| OSV | Packagist | contao/comments-bundle | >= 5.0.0-RC1, < 5.3.4 | 5.3.4 |
References
- https://contao.org/en/security-advisories/insufficient-bbcode-sanitization · Vendor Advisory, WEB
- https://github.com/contao/contao/commit/55b995d8d35da0d36bc6a22c53fe6423ab0c4ae2 · Patch, WEB
- https://github.com/contao/contao/commit/6d42e667177c972ae7c219645593c262d7764ce2 · Patch, WEB
- https://github.com/contao/contao/security/advisories/GHSA-j55w-hjpj-825g · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-28234 · ADVISORY
- https://github.com/contao/contao · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 9 Apr 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 9 Apr 2024)