PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-126361 withastro CVE debrief

A vulnerability in Astro, a web framework for content-driven websites, allows for cross-site scripting (XSS) via attribute injection in dynamic tag names. This issue, fixed in version 7.4.5, could allow an attacker to inject event-handler markup if an application uses request-controlled or stored untrusted data as all or part of an element name. The vulnerability arises from Astro's incomplete character filter when rendering dynamic element names as raw HTML. Exploitation requires an application to use request-controlled or stored untrusted data as all or part of an element name. Defenders should assess their exposure and prioritize verification of their applications' versions and

Vendor
withastro
Product
astro
CVSS
LOW 2.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-12
Original CVE updated
2026-11-17
Advisory published
2026-11-12
Advisory updated
2026-11-17

Who should care

Defenders responsible for Astro-based applications should assess their exposure and prioritize verification of their applications' versions and usage of untrusted data in dynamic element names.

Why it matters

CVE-2026-126361 is a vulnerability in Astro that allows for cross-site scripting (XSS) via attribute injection in dynamic tag names. Defenders should prioritize verifying if their applications use vulnerable Astro versions and assess their usage of untrusted data in dynamic element names.

  • Defenders need to verify if their applications use Astro versions prior to 7.4.5.
  • Assess if untrusted data is used in dynamic element names.
  • Update to Astro version 7.4.5 or later if vulnerable.
  • Monitor applications for potential XSS attacks.

Technical summary

The Astro web framework for content-driven websites is vulnerable to cross-site scripting (XSS) via attribute injection in dynamic tag names. Prior to version 7.4.5, Astro rendered a string used as a dynamic element name as raw HTML after applying an incomplete character filter. This allows an attacker to inject event-handler markup if an application uses request-controlled or stored untrusted data as all or part of an element name.

Defensive priority

Defenders should prioritize verifying if their applications use Astro versions prior to 7.4.5 and assess if untrusted data is used in dynamic element names.

Recommended defensive actions

  • Verify if the Astro version in use is prior to 7.4.5
  • Assess if untrusted data is used in dynamic element names
  • Update to Astro version 7.4.5 or later if vulnerable
  • Monitor applications for potential XSS attacks
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The CVE record and source item provide details on the vulnerability, its impact, and the fixed version. However, there is limited information on potential exploitation or victim impact. The CVE Program record (cve-org) and the NIST NVD detail page (nvd) offer official assessments. The source item (source-item) provides additional context on the vulnerability. Supplemental sources (ref-4, ref-5) may offer further insights. Defenders should verify the Astro version in use, assess if untrusted data is used in dynamic element names, and

Sources and references

Verified primary and authoritative sources

  • CVE-2026-126361 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-126361

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-126361 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-126361

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Astro: XSS via attribute injection in dynamic tag names

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/126xxx/CVE-2026-126361.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/withastro/astro/security/advisories/GHSA-mh32-jxcr-mh9f

    Supplemental source - x_refsource_CONFIRM

  • Source reference

    Unverified legacy reference

    URL: https://github.com/withastro/astro/pull/18520

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/withastro/astro/commit/e023abac912d7cb6af2b9fb5107ef5dabc667096

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/withastro/astro/releases/tag/[email protected]

    Supplemental source - x_refsource_MISC

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.