← VULNERABILITIES

CVE-2026-133756

HtmlSanitizer Doesn't Check Meta Refresh URLs Whose Time Follows a Vertical Tab or a Unicode Space: Incomplete Fix for CVE-2026-121373

Medium · 5.3Fix available
CVSS
5.3
EPSS
0.84% (p55)
Published
2026-11-25
Age
4d old
Modified
2026-11-26
Product
Symfony symfony/html-sanitizer
Aliases
GHSA-wccc-v7v7-gc54

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

Description

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.

Fixed in

6.4.51 · 7.4.24 · 8.1.12

Affected packages

EcosystemPackageRangeFixed
unknownsymfony/html-sanitizer>=6.1.0, <6.4.516.4.51
unknownsymfony/html-sanitizer>=7.0.0, <7.4.247.4.24
unknownsymfony/html-sanitizer>=8.0.0, <8.1.128.1.12
unknownsymfony/symfony>=6.1.0, <6.4.516.4.51
unknownsymfony/symfony>=7.0.0, <7.4.247.4.24
unknownsymfony/symfony>=8.0.0, <8.1.128.1.12

Sources

  • NVD · first seen 4d ago · NVD terms of use
  • OSV · first seen 4d ago · CC-BY 4.0
  • CVE List · first seen 4d ago · CVE Terms of Use

References

JSON