1. Accueil
  2. Vulnérabilités
  3. CVE-2026-121373

CVE-2026-121373

Symfony: HtmlSanitizer MetaRefreshAttributeSanitizer Matches Only a Narrow Subset of the Browser Refresh Grammar (Incomplete Fix for CVE-2026-48761)

Publiée le 4 nov. 2026 · modifiée le 6 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 39/100

Résumé

The Symfony HtmlSanitizer component MetaRefreshAttributeSanitizer, introduced to fix CVE-2026-48761, sanitizes the refresh URL of content attributes of meta tags using a regular expression that is too narrow, allowing sanitization to be bypassed, and resulting in potential URL redirection to untrusted sites in Symfony versions 6.1.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11. The shared declarative refresh steps in the WHATWG HTML Standard require a broader approach: the separator after the time may be ASCII whitespace alone, with no ; or ,, and the url= keyword is optional. Directives the browser honours, but the regular expression misses are returned unchanged, so the attacker URL skips UrlSanitizer entirely and both allowLinkSchemes and allowLinkHosts are defeated for the refresh navigation. This is reachable under any configuration that allows meta with http-equiv and content, including the documented allowStaticElements() preset.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Packagist (6 ligne(s))
Packagist
ProduitVersionsCorrigé dansSource
symfony/html-sanitizer de 6.1.0 (inclus) à 6.4.50 (exclu) 6.4.50 GitHub Advisory
symfony/html-sanitizer de 7.0.0 (inclus) à 7.4.23 (exclu) 7.4.23 GitHub Advisory
symfony/html-sanitizer de 8.0.0 (inclus) à 8.1.11 (exclu) 8.1.11 GitHub Advisory
symfony/symfony de 6.1.0 (inclus) à 6.4.50 (exclu) 6.4.50 GitHub Advisory
symfony/symfony de 7.0.0 (inclus) à 7.4.23 (exclu) 7.4.23 GitHub Advisory
symfony/symfony de 8.0.0 (inclus) à 8.1.11 (exclu) 8.1.11 GitHub Advisory

Correctif

Mise à jour — Packagist/symfony/html-sanitizer 6.4.50; Packagist/symfony/html-sanitizer 7.4.23; Packagist/symfony/html-sanitizer 8.1.11; Packagist/symfony/symfony 6.4.50; Packagist/symfony/symfony 7.4.23; Packagist/symfony/symfony 8.1.11source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
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 (CVSS 4.0, CNA:Checkmarx)
Faiblesse
CWE-186 · Autre (CWE-186)

Comment sont obtenues et calculées ces données