Technical impact
Astro’s @astrojs/solid-js renderer introduced a reflected XSS vulnerability by inserting an unescaped slot name into the quoted name attribute of an astro‑slot wrapper. A request‑controlled slot name containing a quotation mark could terminate the attribute and inject active HTML. The flaw requires that the component be hydrated with a Solid client directive and that the attacker can access the chosen slot property; if the component does not render that slot, only the escaped fallback content is shown. The weakness corresponds to CWE‑79.
Affected Systems
Astro framework versions from 0.2.0 up to, but not including, 7.1.2 – specifically the @astrojs/solid‑js renderer – are affected. Versions 7.1.2 and later have the issue addressed.
Risk and Exploitability
With a CVSS score of 2.3 and an EPSS below 1 %, the exploitation likelihood is very low, and the vulnerability is not listed in CISA’s KEV catalog. The attack vector is client‑side and requires a hydrated Solid component using a client directive and a dynamic slot name supplied by an attacker. Because of these prerequisites, the overall risk remains low, but the vulnerability can still lead to active script execution in a user’s browser if exploited.
Github GHSA