cvedb.io
CVE-2026-50146
HIGH · CVSS 7.1
EPSS exploitation probability: 0%
Published 2026-06-22T19:17:04.610 · Last modified 2026-06-23T15:16:35.923

Summary

Astro is a web framework. Prior to 6.3.3, when a component uses a client:* directive, Astro inserts named slot content into a data-astro-template attribute without HTML escaping the slot name allowing an attacker to break out of the attribute context and inject arbitrary HTML, resulting in reflected XSS during SSR. This vulnerability is fixed in 6.3.3.

Affected products

astro — astro

Does this affect you?

Add your gear to cvedb and we'll alert you only when astro ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.