Medium severity6.1OSV Advisory· Published Jul 14, 2026· Updated Jul 21, 2026
CVE-2026-48761
CVE-2026-48761
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 , , , and , and 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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
symfony/html-sanitizerPackagist | >= 6.1.0, < 6.4.41 | 6.4.41 |
symfony/html-sanitizerPackagist | >= 7.0.0, < 7.4.13 | 7.4.13 |
symfony/html-sanitizerPackagist | >= 8.0.0, < 8.0.13 | 8.0.13 |
symfony/symfonyPackagist | >= 6.1.0, < 6.4.41 | 6.4.41 |
symfony/symfonyPackagist | >= 7.0.0, < 7.4.13 | 7.4.13 |
symfony/symfonyPackagist | >= 8.0.0, < 8.0.13 | 8.0.13 |
Affected products
2v8.0.12, v7.4.12, v6.4.40, …+ 1 more
- (no CPE)range: v8.0.12, v7.4.12, v6.4.40, …
- (no CPE)range: >=6.1.0,<6.4.41, >=7.4.13,<7.4.13, >=8.0.13,<8.0.13
Patches
Vulnerability mechanics
References
9- github.com/symfony/symfony/commit/069a70f9f26e61e9de3b7f9a864a86ed24b36bd0nvdPatchWEB
- github.com/symfony/symfony/security/advisories/GHSA-x5qj-865h-mgvmnvdPatchVendor AdvisoryWEB
- github.com/advisories/GHSA-x5qj-865h-mgvmghsaADVISORY
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/html-sanitizer/CVE-2026-48761.yamlghsaWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-48761.yamlghsaWEB
- github.com/symfony/symfony/releases/tag/v6.4.41nvdProductRelease Notes
- github.com/symfony/symfony/releases/tag/v7.4.13nvdProductRelease Notes
- github.com/symfony/symfony/releases/tag/v8.0.13nvdProductRelease Notes
- symfony.com/cve-2026-48761ghsaWEB
News mentions
0No linked articles in our index yet.