{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "6.1.0"
              },
              {
                "fixed": "6.4.40"
              },
              {
                "introduced": "7.0.0"
              },
              {
                "fixed": "7.4.12"
              },
              {
                "introduced": "8.0.0"
              },
              {
                "fixed": "8.0.12"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "7350abfec0228dabb8dafde17d8a821f65c6dd4f"
            },
            {
              "fixed": "816860d96c4fb7ffd7708ae0531ea6e5a1190773"
            },
            {
              "introduced": "f84d7d3c93e6a884908402775199b1f7d55c7be1"
            },
            {
              "fixed": "1fc7ca636cbd2cad29b42cc13c9fd0c681c6efee"
            },
            {
              "introduced": "bea6dc79db4d95c34b77ec27273d812aa64d65be"
            },
            {
              "fixed": "d776945b2dc41c0e609c56c1ef69863ab56856ed"
            }
          ],
          "repo": "https://github.com/symfony/security-http",
          "type": "GIT"
        },
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "6.1.0"
              },
              {
                "fixed": "6.4.40"
              },
              {
                "introduced": "7.0.0"
              },
              {
                "fixed": "7.4.12"
              },
              {
                "introduced": "8.0.0"
              },
              {
                "fixed": "8.0.12"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "c149a0868823d1b0cc01052f4031af2d507c7c9c"
            },
            {
              "fixed": "95a951788e30c45356278f4e4472cbbf552d0eb9"
            },
            {
              "introduced": "d78c5f403d7ee794993660b1d5155536edd36fc1"
            },
            {
              "fixed": "275f5cbccbcc50205206f05e599c4f57009aadb8"
            },
            {
              "introduced": "2e913a829cfbbf9cb38b321bdff1806b44b192eb"
            },
            {
              "fixed": "06d3b2c9a8aeb5d8493738cc51e24f6a1215827c"
            },
            {
              "fixed": "743a435e948b897ef2b5564ac438d4beb95d2526"
            }
          ],
          "repo": "https://github.com/symfony/symfony",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-h5vq-qfcg-4m6p"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-1007",
      "CWE-451"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45064.json"
  },
  "details": "Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 6.1.0-BETA1 until 6.4.40, 7.4.12, and 8.0.12, UrlSanitizer::parse() passes Unicode explicit-direction BiDi formatting characters through into sanitized href and src attributes, allowing sanitized content to display a link destination that visually differs from the actual destination and enabling phishing-style visual spoofing. This issue is fixed in versions 6.4.40, 7.4.12, and 8.0.12.",
  "id": "CVE-2026-45064",
  "modified": "2026-07-17T03:41:55.324611119Z",
  "published": "2026-07-14T18:35:53.530Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/symfony/symfony/releases/tag/v6.4.40"
    },
    {
      "type": "WEB",
      "url": "https://github.com/symfony/symfony/releases/tag/v7.4.12"
    },
    {
      "type": "WEB",
      "url": "https://github.com/symfony/symfony/releases/tag/v8.0.12"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45064.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/symfony/symfony/security/advisories/GHSA-h5vq-qfcg-4m6p"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-45064"
    },
    {
      "type": "FIX",
      "url": "https://github.com/symfony/symfony/commit/743a435e948b897ef2b5564ac438d4beb95d2526"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Symfony: HtmlSanitizer URL Attributes Pass Through BiDi Override Characters → Visual href Spoofing"
}