medium5.1
CVE-2026-47345
Namespace attributes are not encoded correctly during HTML serialization.
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | typo3/html-sanitizer | < 2.3.2 | 2.3.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-p5j5-4j3q-8mq8
- 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