Live threats

All CVEs / Contao

CVE-2021-35210Contao

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.7%
probability of exploitation in 30 days · percentile 51
Auth required
No
Published
Jun 23, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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 tl_log table that will be executed in the browser when the system log is called in the back end.

Original NVD text.

What to do

  1. Apply the vendor's security update for Contao.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist contao/contao ≥ 4.5.0 < 4.9.16 4.9.16 composer require "contao/contao:^4.9.16"
Packagist contao/contao ≥ 4.10.0 < 4.11.5 4.11.5 composer require "contao/contao:^4.11.5"
Packagist contao/core-bundle ≥ 4.5.0 < 4.9.16 4.9.16 composer require "contao/core-bundle:^4.9.16"
Packagist contao/core-bundle ≥ 4.10.0 < 4.11.5 4.11.5 composer require "contao/core-bundle:^4.11.5"

Per OSV / GitHub Advisories (GHSA-h58v-c6rf-g9f7). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
contaocontao≥ 4.5.0 < 4.9.16
contaocontao≥ 4.10.0 < 4.11.5

Official sources

References

Links published by the sources. Open them with care.