# CVE-2021-35955: Cross site scripting via HTML attributes in the back end

- Severity: Medium 4.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 40% of CVEs (2026-11-30)
- Published: 2021-08-12T14:33:44.000Z
- Modified: 2026-07-08T06:28:14.331Z
- Also known as: GHSA-hr3h-x6gq-rqcp
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- contao/core-bundle (Packagist): from 4.0.0 before 4.4.56; from 4.5.0 before 4.9.18; from 4.10.0 before 4.11.7
- contao/contao (Packagist): from 4.0.0 before 4.4.56; from 4.5.0 before 4.9.18; from 4.10.0 before 4.11.7
- contao contao: from 4.0.0 before 4.4.56; from 4.5.0 before 4.9.18; from 4.10.0 before 4.11.7

## Every score

- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## 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)

## Sources

- CVE List: [CVE-2021-35955](https://www.cve.org/CVERecord?id=CVE-2021-35955), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-hr3h-x6gq-rqcp](https://github.com/advisories/GHSA-hr3h-x6gq-rqcp), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-35955](https://nvd.nist.gov/vuln/detail/CVE-2021-35955), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-35955 · Whole record: https://cve.day/CVE-2021-35955.json · Rebuilt by cve.day 2026-11-25T22:58:03.146Z
