Improper Encoding or Escaping of Output Affecting symfony/symfony package, versions <5.4.53>=6.0.0-BETA1, <6.4.41>=7.0.0-BETA1, <7.4.13>=8.0.0-BETA1, <8.0.13


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-SYMFONYSYMFONY-16895567
  • published27 May 2026
  • disclosed27 May 2026
  • creditalexpott

Introduced: 27 May 2026

CVE-2026-48784  (opens in a new tab)
CWE-116  (opens in a new tab)

How to fix?

Upgrade symfony/symfony to version 5.4.53, 6.4.41, 7.4.13, 8.0.13 or higher.

Overview

symfony/symfony is a PHP framework for web applications and a set of reusable PHP components.

Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output via the UrlGenerator due to incorrectly encoding chained dot-segments (../ or ./). The legacy implementation used a strtr function that skipped escaping adjacent occurrences. If a route accepted broad parameter requirements (like .+), an attacker could input chained ../ segments, causing the generated URL to contain unescaped dots. When processed by strict RFC 3986 consumers (such as HTTP clients, reverse proxies, or internal routers), the path collapses off the intended route, creating a round-trip route integrity issue.

CVSS Base Scores

version 4.0
version 3.1