CVE-2021-35955Contao
Medium 4.8
Follow: this CVE · Contao · Contao We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 3.1
- 4.8
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 40
- Auth required
- Yes
- Published
- Aug 12, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
What happens
Contao >=4.0.0 allows backend XSS via HTML attributes to an HTML field. Fixed in 4.4.56, 4.9.18, 4.11.7.
What to do
- Apply the vendor's security update for Contao.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | contao/contao |
≥ 4.0.0 < 4.4.56 |
4.4.56 |
composer require "contao/contao:^4.4.56" |
| Packagist | contao/contao |
≥ 4.5.0 < 4.9.18 |
4.9.18 |
composer require "contao/contao:^4.9.18" |
| Packagist | contao/contao |
≥ 4.10.0 < 4.11.7 |
4.11.7 |
composer require "contao/contao:^4.11.7" |
| Packagist | contao/core-bundle |
≥ 4.0.0 < 4.4.56 |
4.4.56 |
composer require "contao/core-bundle:^4.4.56" |
| Packagist | contao/core-bundle |
≥ 4.5.0 < 4.9.18 |
4.9.18 |
composer require "contao/core-bundle:^4.9.18" |
| Packagist | contao/core-bundle |
≥ 4.10.0 < 4.11.7 |
4.11.7 |
composer require "contao/core-bundle:^4.11.7" |
Per OSV / GitHub Advisories (GHSA-hr3h-x6gq-rqcp). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| contao | contao | ≥ 4.0.0 < 4.4.56 |
| contao | contao | ≥ 4.5.0 < 4.9.18 |
| contao | contao | ≥ 4.10.0 < 4.11.7 |
Official sources
References
Links published by the sources. Open them with care.
- contao.org Vendor Advisory
- github.com Third Party Advisory