CVE-2021-35955
MEDIUM 4.8CVSS 3.1Cross site scripting via HTML attributes in the back end
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.
- Published
- 12 Aug 2021
- Last modified
- 8 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-hr3h-x6gq-rqcp
- Sources
- NVDJSONOSV GHSA-hr3h-x6gq-rqcpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | contao | contaocpe:2.3:a:contao:contao:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.4.56 | 4.4.56 |
| NVD | contao | contaocpe:2.3:a:contao:contao:*:*:*:*:*:*:*:* |
>= 4.5.0, < 4.9.18 | 4.9.18 |
| NVD | contao | contaocpe:2.3:a:contao:contao:*:*:*:*:*:*:*:* |
>= 4.10.0, < 4.11.7 | 4.11.7 |
| OSV | Packagist | contao/core-bundle | >= 4.0.0, < 4.4.56 | 4.4.56 |
| OSV | Packagist | contao/contao | >= 4.0.0, < 4.4.56 | 4.4.56 |
| OSV | Packagist | contao/contao | >= 4.5.0, < 4.9.18 | 4.9.18 |
| OSV | Packagist | contao/contao | >= 4.10.0, < 4.11.7 | 4.11.7 |
| OSV | Packagist | contao/core-bundle | >= 4.5.0, < 4.9.18 | 4.9.18 |
| OSV | Packagist | contao/core-bundle | >= 4.10.0, < 4.11.7 | 4.11.7 |
References
- https://contao.org/en/news/contao-4-9-16-and-4-11-5-are-available.html · Vendor Advisory, WEB
- https://github.com/contao/contao/security/advisories/GHSA-hr3h-x6gq-rqcp · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-35955 · ADVISORY
- https://contao.org/en/security-advisories/cross-site-scripting-via-html-attributes-in-the-back-end.html · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-35955.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-35955.yaml · WEB
- https://github.com/contao/contao · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 12 Aug 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 25 Aug 2021)