Vulnerability advisory

CVE-2026-47345

TYPO3 HTML Sanitizer allows Cross-Site Scripting

Published Updated OSV record ↗

Also known as GHSA-p5j5-4j3q-8mq8

Severity
  • CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/typo3/html-sanitizer ↗
All commits before 8b5d0be44ded457ca993ec9ca93d859941c637648b5d0be44ded457ca993ec9ca93d859941c63764
Also listed as affected (25)
  • v2.3.1
  • v2.3.0
  • v2.2.0
  • v2.1.4
  • v2.1.3
  • v2.1.2
  • v2.1.1
  • v2.1.0
  • v2.0.16
  • v2.0.15
  • v2.0.14
  • v2.0.13
  • v2.0.12
  • v2.0.11
  • v2.0.10
  • v2.0.9
  • v2.0.8
  • v2.0.7
  • v2.0.6
  • v2.0.5
  • v2.0.4
  • v2.0.3
  • v2.0.2
  • v2.0.1
  • v2.0.0

Description

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.

References

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools