{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.2.0"
                  },
                  {
                    "fixed": "7.1.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "290b196ddb48de11783ff128e2b7272c61490a20"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "9ddd6387a7e70d1111dd4a60450d3c710325380c"
            },
            {
              "fixed": "8a7f7e0cece7ce2d7a5d2a104bd8607174ed5d84"
            },
            {
              "fixed": "290b196ddb48de11783ff128e2b7272c61490a20"
            }
          ],
          "repo": "https://github.com/withastro/astro",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-jmv2-qgxf-f995"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126363.json"
  },
  "details": "Astro is a web framework for content-driven websites. From 0.2.0 until 7.1.2, the @astrojs/solid-js renderer inserted a named slot into the quoted name attribute of an astro-slot wrapper without HTML escaping. A request-controlled slot name containing a quote could terminate the attribute and inject active HTML. Exploitation required a hydrated Solid component using a client:* directive and dynamic access to the attacker-chosen slot property; a component that did not render that slot emitted only escaped fallback content. This issue is fixed in version 7.1.2.",
  "id": "CVE-2026-126363",
  "modified": "2026-11-14T02:30:58.048809792Z",
  "published": "2026-11-12T22:31:46.889Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/withastro/astro/releases/tag/@astrojs/solid-js@7.1.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126363.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/withastro/astro/security/advisories/GHSA-jmv2-qgxf-f995"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126363"
    },
    {
      "type": "FIX",
      "url": "https://github.com/withastro/astro/commit/290b196ddb48de11783ff128e2b7272c61490a20"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Astro: Reflected XSS via unescaped slot names in @astrojs/solid-js"
}