CVE-2026-133756: Symfony Symfony/html-Sanitizer

Medium severity, CVSS 5.3. EPSS: 0.8% probability of exploitation activity in the next 30 days.

MetaRefreshAttributeSanitizer checks the URL of a <meta http-equiv="refresh"> directive only when its content starts with a refresh time. Since the fix for CVE-2026-121373, only the ASCII whitespace of the HTML specification could come before that time. Chromium-based browsers also skip a vertical tab and the Unicode spaces U+1680, U+2000 to U+200A, U+2028, U+205F and U+3000. When the time followed one of these characters, the sanitizer returned the value unchanged. Its URL wasn't checked against allowLinkHosts() and allowLinkSchemes(), and Chromium followed it: $sanitizer->sanitizeFor('head', "<meta http-equiv=\"refresh\" content=\"\u{3000}0;url=https://evil.example/\">"); // returned unchanged, and Chromium redirects to https://evil.example/ The vertical tab is a regression of the fix for CVE-2026-121373, since the expression used before matched it. The Unicode spaces have been accepted since the sanitizer of meta refresh directives exists. This requires the configuration of CVE-2026-121373: meta elements allowed with their http-equiv and content attributes, for example with allowStaticElements(), and content sanitized with sanitizeFor('head', ...). Firefox and Safari skip only ASCII whitespace there. The sanitizer now skips controls, Unicode whitespace and invisible characters before the time, so that it checks the URL of these directives too.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Symfony Symfony/html-Sanitizer, from 6.1.0, before 6.4.51: fixed in 6.4.51
  • Symfony Symfony/html-Sanitizer, from 7.0.0, before 7.4.24: fixed in 7.4.24
  • Symfony Symfony/html-Sanitizer, from 8.0.0, before 8.1.12: fixed in 8.1.12
  • Symfony Symfony/symfony, from 6.1.0, before 6.4.51: fixed in 6.4.51
  • Symfony Symfony/symfony, from 7.0.0, before 7.4.24: fixed in 7.4.24
  • Symfony Symfony/symfony, from 8.0.0, before 8.1.12: fixed in 8.1.12

Affected products

  • Symfony Symfony/html-Sanitizer: from 6.1.0, before 6.4.51 (fixed in 6.4.51); from 7.0.0, before 7.4.24 (fixed in 7.4.24); from 8.0.0, before 8.1.12 (fixed in 8.1.12)
  • Symfony Symfony/symfony: from 6.1.0, before 6.4.51 (fixed in 6.4.51); from 7.0.0, before 7.4.24 (fixed in 7.4.24); from 8.0.0, before 8.1.12 (fixed in 8.1.12)

Published 2026-11-25. Last modified 2026-11-25.