Live threats

All CVEs / Astro

CVE-2026-50146Astro

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
—
Auth required
No
Published
Jun 22, 2026
Updated
Oct 25, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-80
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Astro.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm astro < 6.3.3 6.3.3 npm install astro@6.3.3

Per OSV / GitHub Advisories (GHSA-8hv8-536x-4wqp). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
astroastro< 6.3.3

Official sources

References

Links published by the sources. Open them with care.