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, UrlSanitizer::parse() rejected raw BiDi formatting characters but not percent-encoded forms and used an ASCII-only whitespace check, allowing sanitized URLs to retain visual-spoofing characters that downstream consumers could decode or display. This issue is fixed in versions 6.4.41, 7.4.13, and 8.0.13.
Published: 2026-07-14
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Symfony's UrlSanitizer::parse() method rejects raw bidirectional (BiDi) formatting characters but allows percent‑encoded forms of those characters and performs a whitespace check limited to ASCII characters. As a result, sanitized URLs can still contain percent‑encoded BiDi marks or Unicode whitespace that downstream components may decode or render. The flaw does not provide code execution or privilege escalation; its primary effect is that users may be presented with URLs that visually appear legitimate but lead to deceptive destinations. The weakness is listed as CWE‑1007 (Improper Validation or Handling of Untrusted Input) and CWE‑451 (Wrong Interpretation of Characters).

Affected Systems

The affected products are the Symfony Framework core and the html‑sanitizer component. Versions from 6.1.0 through 6.4.40, from 7.0.0 through 7.4.12, and from 8.0.0 through 8.0.12 are impacted. The issue is addressed in the patched releases 6.4.41, 7.4.13, and 8.0.13. These releases are available in the official Symfony releases and security advisories.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity. The EPSS score of less than 1% suggests a low likelihood of exploitation based solely on historical data. The vulnerability is not listed in CISA's KEV catalog. Attackers are likely to craft URLs containing percent‑encoded BiDi marks or Unicode whitespace and embed them in links, emails, or web pages to mislead users. This inference is drawn from the nature of the vulnerability and common use of URL-based social engineering.

Generated by OpenCVE AI on July 31, 2026 at 05:39 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Symfony to version 6.4.41, 7.4.13, or 8.0.13.
  • If an upgrade cannot be performed immediately, ensure any percent‑encoded BiDi characters are removed or decoded before passing URLs to UrlSanitizer::parse().
  • Add application‑level URL validation that rejects or normalizes URLs containing invisible or swapped‑width characters to prevent deceptive rendering.

Generated by OpenCVE AI on July 31, 2026 at 05:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6312-1 symfony security update
Github GHSA Github GHSA GHSA-v3wm-qf9p-c549 Symfony: HtmlSanitizer URL Parser Deny Gates Underinclusive: Percent-Encoded BiDi Marks and Unicode Whitespace Bypass Visual-Spoofing Defense
History

Wed, 15 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 14 Jul 2026 19:45:00 +0000

Type Values Removed Values Added
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, UrlSanitizer::parse() rejected raw BiDi formatting characters but not percent-encoded forms and used an ASCII-only whitespace check, allowing sanitized URLs to retain visual-spoofing characters that downstream consumers could decode or display. This issue is fixed in versions 6.4.41, 7.4.13, and 8.0.13.
Title Symfony: HtmlSanitizer URL Parser Deny Gates Underinclusive: Percent-Encoded BiDi Marks and Unicode Whitespace Bypass Visual-Spoofing Defense
Weaknesses CWE-1007
CWE-451
References
Metrics cvssV4_0

{'score': 5.3, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-15T14:36:03.339Z

Reserved: 2026-05-22T19:39:05.356Z

Link: CVE-2026-48760

cve-icon Vulnrichment

Updated: 2026-07-15T14:35:57.599Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T05:45:03Z

Weaknesses
  • CWE-1007

    Insufficient Visual Distinction of Homoglyphs Presented to User

  • CWE-451

    User Interface (UI) Misrepresentation of Critical Information