{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.36.1"
                  },
                  {
                    "fixed": "2.36.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "3.2.0"
                  },
                  {
                    "fixed": "3.8.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "05f984701bd6f46562f23a1fbec5a486b190673d"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "06b2165a0fb1d4e22dc5da86fcbea6011438ea31"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "dfd2ce941ec3e92af36427685cfb4e900ea9244c"
            },
            {
              "fixed": "0a697aabc90ba289ed844e2d168174d2720831ae"
            },
            {
              "introduced": "721417c64bbc85022c56d1e3fb7f66874a38cef2"
            },
            {
              "fixed": "1ba00961f2981d6be511ef0f15737b5855dea571"
            },
            {
              "fixed": "05f984701bd6f46562f23a1fbec5a486b190673d"
            },
            {
              "fixed": "06b2165a0fb1d4e22dc5da86fcbea6011438ea31"
            }
          ],
          "repo": "https://github.com/symfony/ux",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-f932-3w98-76gr"
  ],
  "database_specific": {
    "cna_assigner": "Symfony",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133777.json"
  },
  "details": "The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. Browsers parse an inline \u003csvg\u003e element with the rules of SVG, until they meet a start tag like \u003cp\u003e, \u003cimg\u003e or \u003cmeta\u003e. They then parse the rest of the icon as HTML, and they also parse the content of \u003ctitle\u003e and \u003cdesc\u003e elements as HTML. The sanitizer only checked icons as SVG, so an icon could contain markup that becomes live once parsed as HTML. For example, after a \u003cp\u003e element, a comment can end a \u003cstyle\u003e element early and add an \u003cimg\u003e element with an event handler:\n\n\u003cp/\u003e\u003cstyle\u003e\u003c!--\u003c/style\u003e\u003cimg src=1 onerror=alert(1)\u003e--\u003e\u003c/style\u003e\n\nIn the same way, an icon could add a \u003cbase\u003e element to the page, which changes where its relative links and forms go. It could also add a \u003cmeta\u003e element that redirects the page.\n\nComments were kept too, while browsers end a comment at \u003c!--\u003e or \u003c!---\u003e. The rest of such a comment then became live markup, even without any HTML element before it.\n\nApplications are exposed when an attacker can influence the SVG of the icons they render. The sources are the same as for CVE-2026-55877, like local icon files and the responses of the Iconify API.\n\nThe sanitizer now removes comments and the elements that make browsers switch to HTML, and only keeps the text of \u003ctitle\u003e and \u003cdesc\u003e elements. It also makes sure that markup in CDATA sections and attribute values can't end a \u003cnoscript\u003e element around the icon.",
  "id": "CVE-2026-133777",
  "modified": "2026-11-24T10:45:30.280958064Z",
  "published": "2026-11-24T08:24:10.889Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133777.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/symfony/ux"
    },
    {
      "type": "FIX",
      "url": "https://github.com/symfony/ux/commit/05f984701bd6f46562f23a1fbec5a486b190673d"
    },
    {
      "type": "FIX",
      "url": "https://github.com/symfony/ux/commit/06b2165a0fb1d4e22dc5da86fcbea6011438ea31"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/symfony/ux/security/advisories/GHSA-f932-3w98-76gr"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-133777"
    },
    {
      "type": "WEB",
      "url": "https://packagist.org"
    },
    {
      "type": "ADVISORY",
      "url": "https://symfony.com/cve-2026-133777"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "XSS in symfony/ux-icons via SVG Content That Browsers Parse as HTML: Incomplete Fix for CVE-2026-55877"
}