CVE-2021-35210: Cross-site scripting (XSS) vulnerability in the system log

Published Jun 23, 2021
·
Updated

Impact

It is possible to inject code into the tllog table that will be executed in the browser when the system log is called in the back end.

Patches

Update to Contao 4.9.16 or 4.11.5.

Workarounds

Disable the system log module in the back end for all users (especially admin users).

References

https://contao.org/en/security-advisories/cross-site-scripting-in-the-system-log-2021

For more information

If you have any questions or comments about this advisory, open an issue in contao/contao.

Other sources

Contao 4.5.x through 4.9.x before 4.9.16, and 4.10.x through 4.11.x before 4.11.5, allows XSS. It is possible to inject code into the tllog table that will be executed in the browser when the system log is called in the back end.

— MITRE

Cross-site scripting (XSS) vulnerability in the system log

Affected Software

14 affected componentsFixes available
composer/contao/core-bundle>=4.5.0, <4.9.16, >=4.10.0, <4.11.0, >=4.11.0, <4.11.5
composer/contao/contao>=4.5.0, <4.9.16, >=4.10.0, <4.11.0, >=4.11.0, <4.11.5
Contao Contao>=4.5.0<4.9.16
Contao Contao>=4.10.0<4.11.5
composer/contao/contao>=4.10.0<4.11.5
4.11.5
composer/contao/contao>=4.5.0<4.9.16
4.9.16
composer/contao/core-bundle>=4.10.0<4.11.5
4.11.5
composer/contao/core-bundle>=4.5.0<4.9.16
4.9.16
composer/contao/core-bundle>=4.5.0, <4.9.16
4.9.16
composer/contao/core-bundle>=4.10.0, <4.11.0
composer/contao/core-bundle>=4.11.0, <4.11.5
4.11.5
composer/contao/contao>=4.5.0, <4.9.16
4.9.16
composer/contao/contao>=4.10.0, <4.11.0
composer/contao/contao>=4.11.0, <4.11.5
4.11.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/contao/contao to a version that resolves this vulnerability.

    Fixed in 4.11.5
  2. Upgrade

    Upgrade composer/contao/contao to a version that resolves this vulnerability.

    Fixed in 4.9.16
  3. Upgrade

    Upgrade composer/contao/core-bundle to a version that resolves this vulnerability.

    Fixed in 4.11.5
  4. Upgrade

    Upgrade composer/contao/core-bundle to a version that resolves this vulnerability.

    Fixed in 4.9.16
  5. Upgrade

    Upgrade Contao to a version that resolves this vulnerability.

    Fixed in 4.9.16
  6. Upgrade

    Upgrade Contao to a version that resolves this vulnerability.

    Fixed in 4.11.5
  7. Configuration

    Disable the system log module in the back end for all users, especially administrator users.

    Contao system log module System log module in the back end = disabled

Event History

Jun 23, 2021
CVE Published
via MITRE·09:34 AM
Data Sourced
via MITRE·09:34 AM
Description
Advisory Published
via Packagist·10:08 AM
Data Sourced
via Packagist·10:08 AM
DescriptionSeverityAffected Software
Advisory Published
10:12 AM

Frequently Asked Questions

1

What is CVE-2021-35210?

CVE-2021-35210 is a cross-site scripting (XSS) vulnerability in the system log of Contao 4.5.x through 4.9.x before 4.9.16, and 4.10.x through 4.11.x before 4.11.5.

2

How does CVE-2021-35210 affect the system?

CVE-2021-35210 allows an attacker to inject code into the system log table that will be executed in the browser when the system log is called in the back end.

3

What is the severity of CVE-2021-35210?

CVE-2021-35210 has a severity rating of 6.1 (medium).

4

What software versions are affected by CVE-2021-35210?

Contao versions 4.5.x through 4.9.x before 4.9.16, and 4.10.x through 4.11.x before 4.11.5 are affected by CVE-2021-35210.

5

How can I fix CVE-2021-35210?

To fix CVE-2021-35210, update Contao to version 4.9.16 or 4.11.5 depending on the branch you are using.

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