CVE-2026-48761 Details
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.
A vulnerability exists in the Symfony framework's HTML sanitizer component, specifically in the URL attribute sanitizer for certain HTML elements. In versions 6.1.0 prior to 6.4.41, 7.4.13, and 8.0.13, the sanitizer failed to properly handle URL-bearing attributes on <object>, <applet>, <iframe>, <img>, and <meta http-equiv="refresh"> elements. This oversight allowed URLs containing JavaScript payloads to bypass sanitization and be injected into the output, potentially leading to cross-site scripting (XSS) attacks. The issue arises when integrators explicitly allow these elements and attributes, enabling the injection of malicious URLs that are not properly sanitized.
Users can update to Symfony versions 6.4.41, 7.4.13, or 8.0.13, where this vulnerability has been fixed. Instructions for updating can be found in the Symfony release notes.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/symfony/symfony/commit/069a70f9f26e61e9de3b7f9a864a86ed24b36bd0 | [email protected] | Patch |
| https://github.com/symfony/symfony/releases/tag/v6.4.41 | [email protected] | ProductRelease Notes |
| https://github.com/symfony/symfony/releases/tag/v7.4.13 | [email protected] | ProductRelease Notes |
| https://github.com/symfony/symfony/releases/tag/v8.0.13 | [email protected] | ProductRelease Notes |
| https://github.com/symfony/symfony/security/advisories/GHSA-x5qj-865h-mgvm | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1023 | Incomplete Comparison with Missing Factors | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| sensiolabs symfony | >= 6.1.0, < 6.4.41 >= 7.0.0, < 7.4.13 >= 8.0.0, < 8.0.13 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 21, 2026 | CVE Modified | CISA-ADP |
| Jul 15, 2026 | Initial Analysis | [email protected] |
| Jul 14, 2026 | New CVE Received | [email protected] |