astro is vulnerable to Cross-site Scripting (XSS)
65
Medium Risk
On the server, Astro renders hydrated client:* components with slot names embedded in astro-slot and data-astro-template attributes without HTML escaping. If slot names come from user-controlled input, an attacker can break out of the attribute context and inject markup or scripts into the SSR HTML response. Browsers that render that page can execute the injected content as reflected cross-site scripting. The fix applies escapeHTML() to slot name keys at both interpolation sites in the component renderer.
You are affected if you are using a version that falls within the vulnerable range.
astro is vulnerable to Cross-site Scripting (XSS) in versions 3.0.0 - 6.3.2.
Upgrade the astro library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant