Search
Find a vulnerability
Search criteria
2 vulnerabilities found for symfony/html-sanitizer by Symfony
CVE-2026-133756 (GCVE-0-2026-133756)
Vulnerability from nvd – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
VLAI
EPSS
VEX
Title
HtmlSanitizer Doesn't Check Meta Refresh URLs Whose Time Follows a Vertical Tab or a Unicode Space: Incomplete Fix for CVE-2026-121373
Summary
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.
Severity
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133756 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/742095d… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/html-sanitizer |
Affected:
6.1.0 , < 6.4.51
(semver)
Affected: 7.0.0 , < 7.4.24 (semver) Affected: 8.0.0 , < 8.1.12 (semver) |
|
| Symfony | symfony/symfony |
Affected:
6.1.0 , < 6.4.51
(semver)
Affected: 7.0.0 , < 7.4.24 (semver) Affected: 8.0.0 , < 8.1.12 (semver) |
Date Public
2026-11-25 09:36
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/html-sanitizer",
"product": "symfony/html-sanitizer",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.1.0",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.0.0",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
},
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/symfony",
"product": "symfony/symfony",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.1.0",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.0.0",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Vincent Cassiau (CyberVanguard)"
},
{
"lang": "en",
"type": "remediation developer",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-25T09:36:27.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "`MetaRefreshAttributeSanitizer` checks the URL of a `\u003cmeta http-equiv=\"refresh\"\u003e` 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.\n\nWhen the time followed one of these characters, the sanitizer returned the value unchanged. Its URL wasn\u0027t checked against `allowLinkHosts()` and `allowLinkSchemes()`, and Chromium followed it:\n\n```php\n$sanitizer-\u003esanitizeFor(\u0027head\u0027, \"\u003cmeta http-equiv=\\\"refresh\\\" content=\\\"\\u{3000}0;url=https://evil.example/\\\"\u003e\");\n// returned unchanged, and Chromium redirects to https://evil.example/\n```\n\nThe 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.\n\nThis 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(\u0027head\u0027, ...)`. Firefox and Safari skip only ASCII whitespace there.\n\nThe sanitizer now skips controls, Unicode whitespace and invisible characters before the time, so that it checks the URL of these directives too."
}
],
"value": "MetaRefreshAttributeSanitizer checks the URL of a \u003cmeta http-equiv=\"refresh\"\u003e 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.\n\nWhen the time followed one of these characters, the sanitizer returned the value unchanged. Its URL wasn\u0027t checked against allowLinkHosts() and allowLinkSchemes(), and Chromium followed it:\n\n$sanitizer-\u003esanitizeFor(\u0027head\u0027, \"\u003cmeta http-equiv=\\\"refresh\\\" content=\\\"\\u{3000}0;url=https://evil.example/\\\"\u003e\");\n// returned unchanged, and Chromium redirects to https://evil.example/\n\nThe 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.\n\nThis 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(\u0027head\u0027, ...). Firefox and Safari skip only ASCII whitespace there.\n\nThe sanitizer now skips controls, Unicode whitespace and invisible characters before the time, so that it checks the URL of these directives too."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"vectorString": "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",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-186",
"description": "CWE-186 Overly Restrictive Regular Expression",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-601",
"description": "CWE-601 URL Redirection to Untrusted Site",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-25T10:00:15.729Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133756",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133756"
},
{
"name": "GHSA-wccc-v7v7-gc54",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-wccc-v7v7-gc54"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/742095d04eba28da49bcd67f532e6b91ddefb476"
}
],
"source": {
"advisory": "GHSA-wccc-v7v7-gc54",
"discovery": "UNKNOWN"
},
"title": "HtmlSanitizer Doesn\u0027t Check Meta Refresh URLs Whose Time Follows a Vertical Tab or a Unicode Space: Incomplete Fix for CVE-2026-121373",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133756",
"datePublished": "2026-11-25T10:00:15.729Z",
"dateReserved": "2026-11-20T14:01:43.158Z",
"dateUpdated": "2026-11-25T10:00:15.729Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133756 (GCVE-0-2026-133756)
Vulnerability from cvelistv5 – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
VLAI
EPSS
VEX
Title
HtmlSanitizer Doesn't Check Meta Refresh URLs Whose Time Follows a Vertical Tab or a Unicode Space: Incomplete Fix for CVE-2026-121373
Summary
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.
Severity
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133756 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/742095d… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/html-sanitizer |
Affected:
6.1.0 , < 6.4.51
(semver)
Affected: 7.0.0 , < 7.4.24 (semver) Affected: 8.0.0 , < 8.1.12 (semver) |
|
| Symfony | symfony/symfony |
Affected:
6.1.0 , < 6.4.51
(semver)
Affected: 7.0.0 , < 7.4.24 (semver) Affected: 8.0.0 , < 8.1.12 (semver) |
Date Public
2026-11-25 09:36
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/html-sanitizer",
"product": "symfony/html-sanitizer",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.1.0",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.0.0",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
},
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/symfony",
"product": "symfony/symfony",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.1.0",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.0.0",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Vincent Cassiau (CyberVanguard)"
},
{
"lang": "en",
"type": "remediation developer",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-25T09:36:27.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "`MetaRefreshAttributeSanitizer` checks the URL of a `\u003cmeta http-equiv=\"refresh\"\u003e` 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.\n\nWhen the time followed one of these characters, the sanitizer returned the value unchanged. Its URL wasn\u0027t checked against `allowLinkHosts()` and `allowLinkSchemes()`, and Chromium followed it:\n\n```php\n$sanitizer-\u003esanitizeFor(\u0027head\u0027, \"\u003cmeta http-equiv=\\\"refresh\\\" content=\\\"\\u{3000}0;url=https://evil.example/\\\"\u003e\");\n// returned unchanged, and Chromium redirects to https://evil.example/\n```\n\nThe 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.\n\nThis 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(\u0027head\u0027, ...)`. Firefox and Safari skip only ASCII whitespace there.\n\nThe sanitizer now skips controls, Unicode whitespace and invisible characters before the time, so that it checks the URL of these directives too."
}
],
"value": "MetaRefreshAttributeSanitizer checks the URL of a \u003cmeta http-equiv=\"refresh\"\u003e 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.\n\nWhen the time followed one of these characters, the sanitizer returned the value unchanged. Its URL wasn\u0027t checked against allowLinkHosts() and allowLinkSchemes(), and Chromium followed it:\n\n$sanitizer-\u003esanitizeFor(\u0027head\u0027, \"\u003cmeta http-equiv=\\\"refresh\\\" content=\\\"\\u{3000}0;url=https://evil.example/\\\"\u003e\");\n// returned unchanged, and Chromium redirects to https://evil.example/\n\nThe 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.\n\nThis 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(\u0027head\u0027, ...). Firefox and Safari skip only ASCII whitespace there.\n\nThe sanitizer now skips controls, Unicode whitespace and invisible characters before the time, so that it checks the URL of these directives too."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"vectorString": "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",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-186",
"description": "CWE-186 Overly Restrictive Regular Expression",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-601",
"description": "CWE-601 URL Redirection to Untrusted Site",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-25T10:00:15.729Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133756",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133756"
},
{
"name": "GHSA-wccc-v7v7-gc54",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-wccc-v7v7-gc54"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/742095d04eba28da49bcd67f532e6b91ddefb476"
}
],
"source": {
"advisory": "GHSA-wccc-v7v7-gc54",
"discovery": "UNKNOWN"
},
"title": "HtmlSanitizer Doesn\u0027t Check Meta Refresh URLs Whose Time Follows a Vertical Tab or a Unicode Space: Incomplete Fix for CVE-2026-121373",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133756",
"datePublished": "2026-11-25T10:00:15.729Z",
"dateReserved": "2026-11-20T14:01:43.158Z",
"dateUpdated": "2026-11-25T10:00:15.729Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}