CVE-2026-47345: TYPO3 HTML Sanitizer allows Cross-site Scripting
Namespace attributes are not encoded correctly during HTML serialization. This allows bypassing the cross-site scripting prevention mechanism of typo3/html-sanitizer before version 2.3.2. Credits to Doyensec in collaboration with Claude and Anthropic Research for reporting this vulnerability.
Published Jun 12, 2026
Affected packages
typo3/html-sanitizer
- Ecosystem
- Composer (PHP)
- Affected
- < 2.3.2
- Fixed in
- 2.3.2
- Check
composer show typo3/html-sanitizer
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Namespace attributes are not encoded correctly during HTML serialization. This allows bypassing the cross-site scripting prevention mechanism of typo3/html-sanitizer before version 2.3.2.
Credits to Doyensec in collaboration with Claude and Anthropic Research for reporting this vulnerability.
References
- https://github.com/TYPO3/html-sanitizer/security/advisories/GHSA-p5j5-4j3q-8mq8
- https://nvd.nist.gov/vuln/detail/CVE-2026-47345
- https://github.com/TYPO3/html-sanitizer/commit/8b5d0be44ded457ca993ec9ca93d859941c63764
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/html-sanitizer/CVE-2026-47345.yaml
- https://typo3.org/security/advisory/typo3-core-sa-2026-006
- https://github.com/advisories/GHSA-p5j5-4j3q-8mq8
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
