CVE-2021-35955
lowpriority · track · 19EPSS 0.006 · 46 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.5–5.9
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (10)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-hr3h-x6gq-rqcpCross site scripting via HTML attributes in the back end2021-08-25ghsa · osvUS
### Impact It is possible for untrusted users to inject malicious code into HTML attributes 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 HTML fields (e.g. TinyMCE). ### Patches Update to Contao 4.4.56, 4.9.18 or 4.11.7 ### Workarounds Disable all fields that allow HTML for untrusted back end users or disable the login for these users. ### References https://contao.org/en/security-advisories/cross-site-scripting-via-html-attributes-in-the-back-end ### For more information If you have any questions or comments about this advisory, open an issue in [contao/contao](https://github.com/contao/contao/issues/new/choose). ### Credits Thanks to Mikhail Khramenkov and Moritz Vondano for reporting this security issue.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://contao.org/en/news/contao-4-9-16-and-4-11-5-are-available.htmlcnnvd
- https://github.com/contao/contao/security/advisories/GHSA-hr3h-x6gq-rqcpcnnvd
- https://vigilance.fr/vulnerability/Contao-Cross-Site-Scripting-via-Back-End-HTML-Attributes-36126cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2021081609cnnvd
- https://contao.org/en/news/contao-4-9-16-and-4-11-5-are-available.htmlenisa_euvd
- https://github.com/contao/contao/security/advisories/GHSA-hr3h-x6gq-rqcpenisa_euvd
- https://contao.org/en/news/contao-4-9-16-and-4-11-5-are-available.htmlVendor Advisorynvd
- https://github.com/contao/contao/security/advisories/GHSA-hr3h-x6gq-rqcpThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan