Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. typo3/html-sanitizer
  4. ›
  5. CVE-2026-47345

CVE-2026-47345: TYPO3 HTML Sanitizer allows Cross-site Scripting

June 12, 2026

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

  • github.com/FriendsOfPHP/security-advisories/blob/master/typo3/html-sanitizer/CVE-2026-47345.yaml
  • github.com/TYPO3/html-sanitizer/commit/8b5d0be44ded457ca993ec9ca93d859941c63764
  • github.com/TYPO3/html-sanitizer/security/advisories/GHSA-p5j5-4j3q-8mq8
  • github.com/advisories/GHSA-p5j5-4j3q-8mq8
  • nvd.nist.gov/vuln/detail/CVE-2026-47345
  • typo3.org/security/advisory/typo3-core-sa-2026-006

Code Behaviors & Features

Detect and mitigate CVE-2026-47345 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.3.2

Fixed versions

  • 2.3.2

Solution

Upgrade to version 2.3.2 or above.

Impact 4.6 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/typo3/html-sanitizer/CVE-2026-47345.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 13 Jun 2026 12:17:21 +0000.