Bug 2584042 (CVE-2026-133756) - CVE-2026-133756 symfony/html-sanitizer: symfony/html-sanitizer: URL sanitization bypass via leading whitespace in meta refresh tags
Summary: CVE-2026-133756 symfony/html-sanitizer: symfony/html-sanitizer: URL sanitizat...
Keywords:
Status: NEW
Alias: CVE-2026-133756
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-25 10:12 UTC by OSIDB Bzimport
Modified: 2026-11-25 10:36 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-25 10:12:24 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.