A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-47345

CVE-2026-47345: typo3/html-sanitizer XSS Vulnerability

CVE-2026-47345 is a cross-site scripting flaw in typo3/html-sanitizer caused by improper namespace attribute encoding during HTML serialization. This article covers technical details, affected versions, and mitigation.

Published: June 12, 2026

CVE-2026-47345 Overview

CVE-2026-47345 affects the typo3/html-sanitizer package used by TYPO3 to neutralize untrusted HTML before rendering. The library fails to correctly encode namespace attributes during HTML serialization. Attackers can craft markup whose namespaced attributes survive sanitization and reach the browser intact. This bypass undermines the sanitizer's cross-site scripting (XSS) prevention guarantees [CWE-79]. Versions of typo3/html-sanitizer prior to 2.3.2 are affected. The flaw is published in TYPO3 security advisory TYPO3-CORE-SA-2026-006.

Critical Impact

Attackers with authoring privileges can inject script payloads into rendered TYPO3 pages, enabling XSS against visitors and authenticated editors.

Affected Products

  • typo3/html-sanitizer versions prior to 2.3.2
  • TYPO3 CMS installations consuming the vulnerable sanitizer library
  • Third-party TYPO3 extensions relying on typo3/html-sanitizer for HTML output filtering

Discovery Timeline

  • 2026-06-08 - CVE-2026-47345 published to NVD
  • 2026-06-09 - Last updated in NVD database

Technical Details for CVE-2026-47345

Vulnerability Analysis

The typo3/html-sanitizer library parses untrusted HTML, applies an allow-list policy, and serializes the resulting Document Object Model (DOM) back to a string. During serialization, namespace attributes (for example, attributes carrying an xmlns prefix or attributes scoped to XML namespaces) are written to the output without being subjected to the same character encoding that standard HTML attributes receive.

Because these attribute values are emitted unencoded, characters such as quotation marks and angle brackets can terminate the attribute context. The resulting output reintroduces markup that the sanitizer's allow-list policy was supposed to remove. An attacker who can submit rich-text content through a TYPO3 editor, comment field, or any other input that routes through the sanitizer can place executable JavaScript into pages rendered to other users.

The vulnerability is categorized as Cross-Site Scripting (XSS) per [CWE-79]. Exploitation requires low privileges on the application and some user interaction, consistent with stored or reflected XSS scenarios in content management workflows.

Root Cause

The sanitizer's serializer applies attribute encoding rules that overlook namespace-qualified attributes. The fix in commit 8b5d0be44ded457ca993ec9ca93d859941c63764 normalizes the serialization path so namespace attributes are encoded consistently with all other attribute values.

Attack Vector

Exploitation occurs over the network. An attacker submits crafted HTML containing namespace attributes whose values carry XSS payloads. The sanitizer's DOM model accepts the input, but serialization emits the attribute value verbatim. When the rendered page reaches a victim's browser, the injected script executes in the TYPO3 site's origin, enabling session theft, content modification, or actions taken on behalf of the victim.

No verified public proof-of-concept is available. Refer to the TYPO3 Security Advisory and the upstream patch commit for technical specifics of the serialization fix.

Detection Methods for CVE-2026-47345

Indicators of Compromise

  • HTML content stored in TYPO3 records containing namespace prefixes such as xmlns: paired with quote characters or angle brackets in attribute values.
  • Outbound responses from TYPO3 endpoints that include unencoded <, >, or " characters inside namespace attribute values.
  • Editor or frontend user sessions submitting rich-text payloads that include uncommon XML namespace declarations.

Detection Strategies

  • Inspect rendered TYPO3 pages for namespace attributes that contain script-related tokens such as javascript:, onerror=, or <script.
  • Audit installed Composer packages and flag any environment where typo3/html-sanitizer resolves to a version below 2.3.2.
  • Review web application firewall (WAF) logs for POST bodies containing xmlns: declarations combined with HTML control characters.

Monitoring Recommendations

  • Enable Content Security Policy (CSP) report-only mode on TYPO3 sites and monitor violation reports for inline script execution.
  • Track changes to TYPO3 content records by privileged editors and correlate against unusual HTML structures.
  • Alert on browser-side JavaScript errors originating from TYPO3-rendered pages, which can indicate failed or partial injection attempts.

How to Mitigate CVE-2026-47345

Immediate Actions Required

  • Upgrade typo3/html-sanitizer to version 2.3.2 or later using Composer.
  • Apply the corresponding TYPO3 core update referenced in advisory TYPO3-CORE-SA-2026-006.
  • Review and re-sanitize stored rich-text content created before the patch was applied.
  • Restrict rich-text editing permissions to trusted backend users until the upgrade is complete.

Patch Information

The upstream fix is delivered in commit 8b5d0be44ded457ca993ec9ca93d859941c63764 and released in typo3/html-sanitizer2.3.2. See the GitHub patch commit and the TYPO3 Security Advisory for full details.

Workarounds

  • Deploy a strict Content Security Policy that disallows inline scripts and untrusted script sources.
  • Configure WAF rules to block request bodies containing xmlns: prefixed attributes paired with HTML metacharacters.
  • Temporarily disable HTML input fields or restrict them to plain text on internet-facing TYPO3 instances until patched.
bash
# Configuration example
composer require typo3/html-sanitizer:^2.3.2
composer update typo3/html-sanitizer
php vendor/bin/typo3 cache:flush

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechTypo3

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Commit Update

  • TYPO3 Security Advisory
  • Related CVEs
  • CVE-2026-47344: TYPO3 HTML Sanitizer XSS Vulnerability

  • CVE-2023-24814: TYPO3 CMS Cross-Site Scripting Vulnerability

  • CVE-2026-49741: TYPO3 CMS Auth Bypass Vulnerability

  • CVE-2026-49738: TYPO3 CMS Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English