CVE-2024-28234: Contao has insufficient BBCode sanitizer

Published Apr 9, 2024
·
Updated

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.

Other sources

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.

— MITRE

Affected Software

4 affected componentsFixes available
composer/contao/comments-bundle>=5.0.0-RC1<5.3.4
5.3.4
composer/contao/comments-bundle>=2.0.0<4.13.40
4.13.40
Contao Contao>=2.0<4.13.40
Contao Contao>=5.0.0<5.3.4

Event History

Apr 9, 2024
CVE Published
via MITRE·01:59 PM
Data Sourced
via MITRE·01:59 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:52 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-28234?

CVE-2024-28234 is rated as a high severity vulnerability due to the potential for CSS injection in comments.

2

How do I fix CVE-2024-28234?

To fix CVE-2024-28234, update to Contao version 4.13.40 or 5.3.4.

3

What happens if I leave CVE-2024-28234 unpatched?

Leaving CVE-2024-28234 unpatched may allow unauthorized users to inject malicious CSS, compromising the integrity of your site.

4

Can I mitigate CVE-2024-28234 without updating?

Yes, you can mitigate CVE-2024-28234 by disabling BBCode for comments.

5

Which versions of Contao are affected by CVE-2024-28234?

CVE-2024-28234 affects Contao versions prior to 4.13.40 and 5.3.4.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203