---
cve: "CVE-2026-50146"
severity: "HIGH"
cvss: 7.1
epss: "27%"
vendor: "withastro"
kev: false
exploited: false
published: "2026-06-22 19:17:04"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-07T17:33:17+02:00"
---

# CVE-2026-50146

> 7.1 HIGH · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Erforderlich | good |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Gering | warn |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Keine | good |

## Patch verfügbar (OSV)

- 5ec95d05ca68e85901c494b70cebc25a0640083c (Commit)

## Referenzen

- <https://github.com/withastro/astro/security/advisories/GHSA-8hv8-536x-4wqp>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-50146) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
