CVE-2026-126361
Published:November 12, 2026
Updated:November 13, 2026
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.
Affected Packages
https://github.com/withastro/astro.git (GITHUB):
Affected version(s) >=astro@0.0.0-rc-20220719055619 <astro@7.4.5 || >=astro@1.0.0-beta.0 <astro@7.4.5 || >=astro@2.0.0-beta.0 <astro@7.4.5 || >=astro@3.0.0-beta.0 <astro@7.4.5 || >=astro@4.0.0-beta.0 <astro@7.4.5 || >=astro@5.0.0-alpha.0 <astro@7.4.5 || >=astro@6.0.0-alpha.1 <astro@7.4.5 || >=astro@7.0.0-alpha.0 <astro@7.4.5Fix Suggestion:
Update to version astro@7.4.5astro (NPM):
Affected version(s) >=6.0.0-alpha.0 <7.4.5 || >=4.0.0-beta.0 <7.4.5 || >=5.0.0-alpha.0 <7.4.5 || >=1.0.0-beta.0 <7.4.5 || >=2.0.0-beta.0 <7.4.5 || >=7.0.0-alpha.0 <7.4.5 || >=0.0.0-i18n-routing-20231101144500 <7.4.5 || >=3.0.0-beta.0 <7.4.5Fix Suggestion:
Update to version 7.4.5Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
2.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE