CVE-2026-133754 (GCVE-0-2026-133754)

Vulnerability from cvelistv5 – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
VLAI
Title
UrlGenerator Lets Host Placeholder Values Send Generated URLs to Another Host
Summary
UrlGenerator puts the values of host placeholders into the generated URL without encoding them. Their default requirement, [^.]++, accepts /, @, #, ?, \, % and :. With the host {tenant}.example.com, the value evil%2Ecom# gives https://evil%2Ecom#.example.com/dashboard, which browsers send to evil.com. This works even when requirements are checked. Unicode full stops like 。 have the same effect, since IDNA maps them to .. Applications are exposed when untrusted values reach host placeholders, for example when they pass the query string of the request to url(). A route that uses RedirectController::redirectAction() with keepQueryParams: true does the same, when the target route has a host placeholder that the redirecting route doesn't define. UrlGenerator now rejects host placeholder values that contain a character that is forbidden in a host. These characters are C0 controls, space, #, %, /, :, <, >, ?, @, [, \, ], ^, | and DEL. Unicode full stops are rejected too. This check applies whatever strict_requirements is set to. When strict_requirements is false or null, the generator logs an error and returns an empty string instead of throwing. Host placeholder values can still be an IPv6 literal like [::1], but they can't contain a port anymore.
CWE
  • CWE-116 - Improper Encoding or Escaping of Output
  • CWE-601 - URL Redirection to Untrusted Site
Impacted products
Vendor Product Version
Symfony symfony/routing Affected: 0 , < 5.4.57 (semver)
Affected: 6.0.0 , < 6.4.51 (semver)
Affected: 7.0.0 , < 7.4.24 (semver)
Affected: 8.0.0 , < 8.1.12 (semver)
Create a notification for this product.
Symfony symfony/symfony Affected: 0 , < 5.4.57 (semver)
Affected: 6.0.0 , < 6.4.51 (semver)
Affected: 7.0.0 , < 7.4.24 (semver)
Affected: 8.0.0 , < 8.1.12 (semver)
Create a notification for this product.
Date Public
2026-11-25 09:36
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "collectionURL": "https://packagist.org",
          "defaultStatus": "unaffected",
          "packageName": "symfony/routing",
          "product": "symfony/routing",
          "repo": "https://github.com/symfony/symfony",
          "vendor": "Symfony",
          "versions": [
            {
              "lessThan": "5.4.57",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThan": "6.4.51",
              "status": "affected",
              "version": "6.0.0",
              "versionType": "semver"
            },
            {
              "lessThan": "7.4.24",
              "status": "affected",
              "version": "7.0.0",
              "versionType": "semver"
            },
            {
              "lessThan": "8.1.12",
              "status": "affected",
              "version": "8.0.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://packagist.org",
          "defaultStatus": "unaffected",
          "packageName": "symfony/symfony",
          "product": "symfony/symfony",
          "repo": "https://github.com/symfony/symfony",
          "vendor": "Symfony",
          "versions": [
            {
              "lessThan": "5.4.57",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThan": "6.4.51",
              "status": "affected",
              "version": "6.0.0",
              "versionType": "semver"
            },
            {
              "lessThan": "7.4.24",
              "status": "affected",
              "version": "7.0.0",
              "versionType": "semver"
            },
            {
              "lessThan": "8.1.12",
              "status": "affected",
              "version": "8.0.0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Nicolas Grekas"
        }
      ],
      "datePublic": "2026-11-25T09:36:21.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/markdown",
              "value": "`UrlGenerator` puts the values of host placeholders into the generated URL without encoding them. Their default requirement, `[^.]++`, accepts `/`, `@`, `#`, `?`, `\\`, `%` and `:`. With the host `{tenant}.example.com`, the value `evil%2Ecom#` gives `https://evil%2Ecom#.example.com/dashboard`, which browsers send to `evil.com`. This works even when requirements are checked. Unicode full stops like `\u3002` have the same effect, since IDNA maps them to `.`.\n\nApplications are exposed when untrusted values reach host placeholders, for example when they pass the query string of the request to `url()`. A route that uses `RedirectController::redirectAction()` with `keepQueryParams: true` does the same, when the target route has a host placeholder that the redirecting route doesn\u0027t define.\n\n`UrlGenerator` now rejects host placeholder values that contain a character that is forbidden in a host. These characters are C0 controls, space, `#`, `%`, `/`, `:`, `\u003c`, `\u003e`, `?`, `@`, `[`, `\\`, `]`, `^`, `|` and DEL. Unicode full stops are rejected too. This check applies whatever `strict_requirements` is set to. When `strict_requirements` is `false` or `null`, the generator logs an error and returns an empty string instead of throwing. Host placeholder values can still be an IPv6 literal like `[::1]`, but they can\u0027t contain a port anymore."
            }
          ],
          "value": "UrlGenerator puts the values of host placeholders into the generated URL without encoding them. Their default requirement, [^.]++, accepts /, @, #, ?, \\, % and :. With the host {tenant}.example.com, the value evil%2Ecom# gives https://evil%2Ecom#.example.com/dashboard, which browsers send to evil.com. This works even when requirements are checked. Unicode full stops like \u3002 have the same effect, since IDNA maps them to ..\n\nApplications are exposed when untrusted values reach host placeholders, for example when they pass the query string of the request to url(). A route that uses RedirectController::redirectAction() with keepQueryParams: true does the same, when the target route has a host placeholder that the redirecting route doesn\u0027t define.\n\nUrlGenerator now rejects host placeholder values that contain a character that is forbidden in a host. These characters are C0 controls, space, #, %, /, :, \u003c, \u003e, ?, @, [, \\, ], ^, | and DEL. Unicode full stops are rejected too. This check applies whatever strict_requirements is set to. When strict_requirements is false or null, the generator logs an error and returns an empty string instead of throwing. Host placeholder values can still be an IPv6 literal like [::1], but they can\u0027t contain a port anymore."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "baseScore": 5.3,
            "baseSeverity": "MEDIUM",
            "vectorString": "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",
            "version": "4.0"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-116",
              "description": "CWE-116 Improper Encoding or Escaping of Output",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-601",
              "description": "CWE-601 URL Redirection to Untrusted Site",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-25T10:00:13.982Z",
        "orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "shortName": "Symfony"
      },
      "references": [
        {
          "name": "CVE-2026-133754",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://symfony.com/cve-2026-133754"
        },
        {
          "name": "GHSA-wgv4-frv7-c8c5",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://github.com/symfony/symfony/security/advisories/GHSA-wgv4-frv7-c8c5"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/symfony/symfony/commit/73505be32fd675507f3572f5b89ed0a76733bf2f"
        }
      ],
      "source": {
        "advisory": "GHSA-wgv4-frv7-c8c5",
        "discovery": "UNKNOWN"
      },
      "title": "UrlGenerator Lets Host Placeholder Values Send Generated URLs to Another Host",
      "x_generator": {
        "engine": "symfony/ghsa-to-cve"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
    "assignerShortName": "Symfony",
    "cveId": "CVE-2026-133754",
    "datePublished": "2026-11-25T10:00:13.982Z",
    "dateReserved": "2026-11-20T14:01:43.158Z",
    "dateUpdated": "2026-11-25T10:00:13.982Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://packagist.org",
                "defaultStatus": "unaffected",
                "packageName": "symfony/routing",
                "product": "symfony/routing",
                "repo": "https://github.com/symfony/symfony",
                "vendor": "Symfony",
                "versions": [
                  {
                    "lessThan": "5.4.57",
                    "status": "affected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.4.51",
                    "status": "affected",
                    "version": "6.0.0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "7.4.24",
                    "status": "affected",
                    "version": "7.0.0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "8.1.12",
                    "status": "affected",
                    "version": "8.0.0",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "collectionURL": "https://packagist.org",
                "defaultStatus": "unaffected",
                "packageName": "symfony/symfony",
                "product": "symfony/symfony",
                "repo": "https://github.com/symfony/symfony",
                "vendor": "Symfony",
                "versions": [
                  {
                    "lessThan": "5.4.57",
                    "status": "affected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.4.51",
                    "status": "affected",
                    "version": "6.0.0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "7.4.24",
                    "status": "affected",
                    "version": "7.0.0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "8.1.12",
                    "status": "affected",
                    "version": "8.0.0",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "UrlGenerator puts the values of host placeholders into the generated URL without encoding them. Their default requirement, [^.]++, accepts /, @, #, ?, \\, % and :. With the host {tenant}.example.com, the value evil%2Ecom# gives https://evil%2Ecom#.example.com/dashboard, which browsers send to evil.com. This works even when requirements are checked. Unicode full stops like \u3002 have the same effect, since IDNA maps them to ..\n\nApplications are exposed when untrusted values reach host placeholders, for example when they pass the query string of the request to url(). A route that uses RedirectController::redirectAction() with keepQueryParams: true does the same, when the target route has a host placeholder that the redirecting route doesn\u0027t define.\n\nUrlGenerator now rejects host placeholder values that contain a character that is forbidden in a host. These characters are C0 controls, space, #, %, /, :, \u003c, \u003e, ?, @, [, \\, ], ^, | and DEL. Unicode full stops are rejected too. This check applies whatever strict_requirements is set to. When strict_requirements is false or null, the generator logs an error and returns an empty string instead of throwing. Host placeholder values can still be an IPv6 literal like [::1], but they can\u0027t contain a port anymore."
          }
        ],
        "id": "CVE-2026-133754",
        "lastModified": "2026-11-25T10:17:12.983",
        "metrics": {
          "cvssMetricV40": [
            {
              "cvssData": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "availabilityRequirement": "NOT_DEFINED",
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "confidentialityRequirement": "NOT_DEFINED",
                "exploitMaturity": "NOT_DEFINED",
                "integrityRequirement": "NOT_DEFINED",
                "modifiedAttackComplexity": "NOT_DEFINED",
                "modifiedAttackRequirements": "NOT_DEFINED",
                "modifiedAttackVector": "NOT_DEFINED",
                "modifiedPrivilegesRequired": "NOT_DEFINED",
                "modifiedSubAvailabilityImpact": "NOT_DEFINED",
                "modifiedSubConfidentialityImpact": "NOT_DEFINED",
                "modifiedSubIntegrityImpact": "NOT_DEFINED",
                "modifiedUserInteraction": "NOT_DEFINED",
                "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
                "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
                "modifiedVulnIntegrityImpact": "NOT_DEFINED",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "LOW",
                "subIntegrityImpact": "LOW",
                "userInteraction": "PASSIVE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-25T10:17:12.983",
        "references": [
          {
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "url": "https://github.com/symfony/symfony/commit/73505be32fd675507f3572f5b89ed0a76733bf2f"
          },
          {
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "url": "https://github.com/symfony/symfony/security/advisories/GHSA-wgv4-frv7-c8c5"
          },
          {
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "url": "https://symfony.com/cve-2026-133754"
          }
        ],
        "sourceIdentifier": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "vulnStatus": "Received",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-116"
              },
              {
                "lang": "en",
                "value": "CWE-601"
              }
            ],
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "type": "Secondary"
          }
        ]
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…