2026-06-08 19:4CVE-2026-47345TYPO3
PUBLISHED5.2CWE-79

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.

Problem type

Affected products

TYPO3

HTML Sanitizer

< 2.3.2 - AFFECTED

References

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-47345
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-47345",
    "assignerOrgId": "f4fb688c-4412-4426-b4b8-421ecf27b14a",
    "assignerShortName": "TYPO3",
    "dateUpdated": "2026-06-08T19:49:59.995Z",
    "dateReserved": "2026-05-19T12:49:25.966Z",
    "datePublished": "2026-06-08T19:04:08.337Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "f4fb688c-4412-4426-b4b8-421ecf27b14a",
        "shortName": "TYPO3",
        "dateUpdated": "2026-06-08T19:06:11.091Z"
      },
      "datePublic": "2026-06-08T20:00:00.000Z",
      "title": "TYPO3 HTML Sanitizer allows Cross-Site Scripting",
      "descriptions": [
        {
          "lang": "en",
          "value": "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.",
          "supportingMedia": [
            {
              "type": "text/html",
              "base64": false,
              "value": "Namespace attributes are not encoded correctly during HTML serialization. This allows bypassing the cross-site scripting prevention mechanism of <code>typo3/html-sanitizer</code> before version 2.3.2."
            }
          ]
        }
      ],
      "affected": [
        {
          "vendor": "TYPO3",
          "product": "HTML Sanitizer",
          "collectionURL": "https://packagist.org",
          "packageName": "typo3/html-sanitizer",
          "repo": "https://github.com/TYPO3/html-sanitizer",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "2.3.2"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
              "cweId": "CWE-79",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://typo3.org/security/advisory/typo3-core-sa-2026-006",
          "tags": [
            "vendor-advisory"
          ]
        },
        {
          "url": "https://github.com/TYPO3/html-sanitizer/commit/8b5d0be44ded457ca993ec9ca93d859941c63764",
          "tags": [
            "patch"
          ]
        }
      ],
      "metrics": [
        {
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Doyensec in collaboration with Claude and Anthropic Research",
          "type": "reporter"
        },
        {
          "lang": "en",
          "value": "Benjamin Franzke",
          "type": "remediation developer"
        }
      ]
    },
    "adp": [
      {
        "providerMetadata": {
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP",
          "dateUpdated": "2026-06-08T19:49:59.995Z"
        },
        "title": "CISA ADP Vulnrichment",
        "metrics": [
          {}
        ]
      }
    ]
  }
}