Live threats

All CVEs / Contao

CVE-2023-36806Contao

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
0.7%
probability of exploitation in 30 days · percentile 46
Auth required
Yes
Published
Jul 25, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

Contao is an open source content management system. Starting in version 4.0.0 and prior to versions 4.9.42, 4.13.28, and 5.1.10, it is possible for untrusted backend users to inject malicious code into headline fields in the back end, which will be executed both in the element preview (back end) and on the website (front end). Installations are only affected if there are untrusted back end users who have the rights to modify headline fields, or other fields using the input unit widget. Contao 4.9.42, 4.13.28, and 5.1.10 have a patch for this issue. As a workaround, disable the login for all untrusted back end users.

Original NVD text.

What to do

  1. Apply the vendor's security update for Contao.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist contao/core-bundle ≥ 4.0.0 < 4.9.42 4.9.42 composer require "contao/core-bundle:^4.9.42"
Packagist contao/core-bundle ≥ 4.10.0 < 4.13.28 4.13.28 composer require "contao/core-bundle:^4.13.28"
Packagist contao/core-bundle ≥ 5.0.0 < 5.1.10 5.1.10 composer require "contao/core-bundle:^5.1.10"

Per OSV / GitHub Advisories (GHSA-4gpr-p634-922x). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
contaocontao≥ 4.0.0 < 4.9.42
contaocontao≥ 4.10.0 < 4.13.28
contaocontao≥ 5.0.0 < 5.1.10

Official sources

References

Links published by the sources. Open them with care.