1. Archivio CVE
  2. 2026
  3. CVE-2026-133756

CVE-2026-133756

5.3 Gravità media CVSS v4.0 · fonte NVD 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/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 5.3 – Media

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
symfony symfony/html-sanitizer >= 6.1.0 < 6.4.51 –
symfony symfony/html-sanitizer >= 7.0.0 < 7.4.24 –
symfony symfony/html-sanitizer >= 8.0.0 < 8.1.12 –
symfony symfony/symfony >= 6.1.0 < 6.4.51 –
symfony symfony/symfony >= 7.0.0 < 7.4.24 –
symfony symfony/symfony >= 8.0.0 < 8.1.12 –

Tipo di vulnerabilità

CWE-186 Overly Restrictive Regular Expression

A regular expression is overly restrictive in a way that does not match all intended values.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Aggirare i meccanismi di protezione, Dipende dal contesto

Come si previene

Sviluppo · Refactoring Regular expressions can become error prone when defining a complex language even for those experienced in writing grammars. Determine if several smaller regular expressions simplify one large regular expression. Also, subject your regular expression to thorough testing techniques such as equivalence partitioning, boundary value analysis, and robustness. After testing and a reasonable confidence level is achieved, a regular expression may not be foolproof. If an exploit is allowed to slip through, then record the exploit and refactor your regular expression.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 4 CVE di tipo CWE-186, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org