CVE-2026-48761
published medium CVSS 4.0 · 5.3Symfony: HtmlSanitizer UrlAttributeSanitizer Misses URL Attributes on <object>, <applet>, <iframe>, <img> and the URL Inside <meta http-equiv="refresh"> content
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| symfony | — | symfony>= 6.1.0, < 6.4.41 · >= 7.0.0-BETA1, < 7.4.13 · >= 8.0.0-BETA1, < 8.0.13 | Affected | Not stated | GitHub_M |
| symfony | — | html-sanitizer>= 6.1.0, < 6.4.41 · >= 7.0.0-BETA1, < 7.4.13 · >= 8.0.0-BETA1, < 8.0.13 | Affected | Not stated | GitHub_M |
| Debian | trixie | symfony | Advisory build | 6.4.41+dfsg-0+deb13u1 | DSA-6312-1 |
Description
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 6.1.0 until 6.4.41, 7.4.13, and 8.0.13, UrlAttributeSanitizer::getSupportedAttributes() omitted URL-bearing attributes on <object>, <applet>, <iframe>, and <img>, and <meta http-equiv="refresh"> URLs inside content bypassed URL sanitization, allowing explicitly enabled elements or attributes to pass javascript: and similar payloads into sanitized output. This issue is fixed in versions 6.4.41, 7.4.13, and 8.0.13.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| symfony | symfony | >= 6.1.0, < 6.4.41 (affected)>= 7.0.0-BETA1, < 7.4.13 (affected)>= 8.0.0-BETA1, < 8.0.13 (affected) | GitHub_M · cna |
| symfony | html-sanitizer | >= 6.1.0, < 6.4.41 (affected)>= 7.0.0-BETA1, < 7.4.13 (affected)>= 8.0.0-BETA1, < 8.0.13 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-1023 CWE-1023: Incomplete Comparison with Missing Factors
References
5- https://github.com/symfony/symfony/commit/069a70f9f26e61e9de3b7f9a864a86ed24b36bd0
- https://github.com/symfony/symfony/releases/tag/v6.4.41
- https://github.com/symfony/symfony/releases/tag/v7.4.13
- https://github.com/symfony/symfony/releases/tag/v8.0.13
- https://github.com/symfony/symfony/security/advisories/GHSA-x5qj-865h-mgvm
Provider assertions
2GitHub_M · cna
Symfony: HtmlSanitizer UrlAttributeSanitizer Misses URL Attributes on <object>, <applet>, <iframe>, <img> and the URL Inside <meta http-equiv="refresh"> content
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5858149888e44f07c2edd27fa570edbaaa40df83c2c17fbc35376a466332e2bb
- Ingested
- 23 Sep 2026, 09:17:37 UTC
- Source record
- Official CVE record