Shellfeed logo Shellfeed

CVE-2026-126361 · LOW

Summary: Astro: XSS via attribute injection in dynamic tag names

EPSS: 0.3% probability of exploitation in the next 30 days (percentile 24.8).

Details

Astro is a web framework for content-driven websites. Prior to 7.4.5, Astro rendered a string used as a dynamic element name as raw HTML after applying an incomplete character filter. A / in the string could make an HTML parser treat the remainder as attributes, allowing untrusted element-name input to inject event-handler markup. The .astro dynamic-tag renderer, JSX renderer, and MDX renderer were affected, and exploitation required an application to use request-controlled or stored untrusted data as all or part of an element name. This issue is fixed in version 7.4.5.

Severity

LOW — vector 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

Affected packages

  • npm astro [0 – 7.4.5]
  • GIT github.com/withastro/astro [0 – d354ffba8df77ab9d89480bb5d0ca6efe249573e]

References

Posts about CVE-2026-126361