PoC Monitor
← All CVEs
CVE-2026-50146published 22 Jun 2026 17:31 UTCData: JSON · API

Astro

Astro: Reflected XSS via unescaped slot name

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.1high · scored by CNA · CWE-80
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

withastro astro
  • < 6.3.3

Fixed in 6.3.3

Mitigation

Upgrade astro to 6.3.3 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published22 Jun 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.