# CVE-2024-28234: Contao has insufficient BBCode sanitizer

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Published: 2024-04-09T13:59:41.300Z
- Modified: 2026-09-10T03:50:11.402Z
- Also known as: GHSA-j55w-hjpj-825g
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- contao contao: >= 2.0.0, < 4.13.40; >= 5.0.0, < 5.3.4; from 2.0 before 4.13.40; from 5.0.0 before 5.3.4
- contao/comments-bundle (Packagist): from 2.0.0 before 4.13.40; from 5.0.0-RC1 before 5.3.4

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N`

## References

- <https://github.com/contao/contao/security/advisories/GHSA-j55w-hjpj-825g> (vendor-advisory, web)
- <https://github.com/contao/contao/commit/55b995d8d35da0d36bc6a22c53fe6423ab0c4ae2> (patch, web)
- <https://github.com/contao/contao/commit/6d42e667177c972ae7c219645593c262d7764ce2> (patch, web)
- <https://contao.org/en/security-advisories/insufficient-bbcode-sanitization> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-28234> (advisory)
- <https://github.com/contao/contao> (package)

## Sources

- CVE List: [CVE-2024-28234](https://www.cve.org/CVERecord?id=CVE-2024-28234), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-j55w-hjpj-825g](https://github.com/advisories/GHSA-j55w-hjpj-825g), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-28234](https://nvd.nist.gov/vuln/detail/CVE-2024-28234), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-28234 · Whole record: https://cve.day/CVE-2024-28234.json · Rebuilt by cve.day 2026-11-25T22:58:38.894Z
