CVE-2024-28234Contao
Medium 4.7 No auth needed
Follow: this CVE · Contao · Contao We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 4.7
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 50
- Auth required
- No
- Published
- Apr 9, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-74
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Contao.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | contao/comments-bundle |
≥ 2.0.0 < 4.13.40 |
4.13.40 |
composer require "contao/comments-bundle:^4.13.40" |
| Packagist | contao/comments-bundle |
≥ 5.0.0-RC1 < 5.3.4 |
5.3.4 |
composer require "contao/comments-bundle:^5.3.4" |
Per OSV / GitHub Advisories (GHSA-j55w-hjpj-825g). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| contao | contao | ≥ 2.0 < 4.13.40 |
| contao | contao | ≥ 5.0.0 < 5.3.4 |
Official sources
References
Links published by the sources. Open them with care.
- contao.org Vendor Advisory
- github.com Patch
- github.com Patch
- github.com Vendor Advisory