Medium

Contao: Insufficient BBCode sanitizer

  • Disclosed: 09.04.2024
  • Updated: 11.10.2026 10:22

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.

PlatformPackageVulnerable versionsFixed 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

CVSS score 4.3/10
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

  1. 2024: 1
  2. 2025: 0
  3. 2026: 1
  1. Critical · 9.3 CVE-2026-107845 >= 4.0.0, < 5.3.50, >= 5.4.0-RC1, < 5.7.12 5.3.50, 5.7.12
  2. Contao: Insufficient BBCode sanitizer this entry
    Medium · 4.3 CVE-2024-28234 >= 2.0.0, < 4.13.40, >= 5.0.0-RC1, < 5.3.4 4.13.40, 5.3.4

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.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.