Skip to main content
← All vulnerabilities
CVE-2026-48761GHSA-X5QJ-865H-MGVM

Symfony: HtmlSanitizer UrlAttributeSanitizer Misses URL Attributes on <object>, <applet>, <iframe>, <img> and the URL Inside <meta http-equiv="refresh"> content

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.4.41, 7.4.13, 8.0.13
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • symfony symfony

    From 6.1.0 · fixed in 6.4.41; From 7.0.0-BETA1 · fixed in 7.4.13; From 8.0.0-BETA1 · fixed in 8.0.13

  • symfony html-sanitizer

    From 6.1.0 · fixed in 6.4.41; From 7.0.0-BETA1 · fixed in 7.4.13; From 8.0.0-BETA1 · fixed in 8.0.13

  • symfony/html-sanitizerPackagist

    From 6.1.0 · fixed in 6.4.41

  • symfony/html-sanitizerPackagist

    From 7.0.0 · fixed in 7.4.13

  • symfony/html-sanitizerPackagist

    From 8.0.0 · fixed in 8.0.13

  • symfony/symfonyPackagist

    From 6.1.0 · fixed in 6.4.41

  • symfony/symfonyPackagist

    From 7.0.0 · fixed in 7.4.13

  • symfony/symfonyPackagist

    From 8.0.0 · fixed in 8.0.13

References 5

GitHub · symfony/symfony