THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-f4j9-crrj-867q (low) — Astro: Reflected XSS via unescaped slot names in @astrojs/svelte

[GHSA] GHSA-f4j9-crrj-867q (low) — Astro: Reflected XSS via unescaped slot names in @astrojs/svelte

medgithub_advisoriesPublished 2026-11-12

GHSA-f4j9-crrj-867q Severity: low CVE: CVE-2026-126362

Astro: Reflected XSS via unescaped slot names in @astrojs/svelte

## Summary

The `@astrojs/svelte` renderer wraps slotted content passed to Svelte components in an `<astro-slot>` element, and writes the slot name into its `name` attribute without HTML escaping. A slot name containing `"` could end the attribute and inject arbitrary HTML into

MITRE ATT&CK techniques

Indicators of compromise

Original source: https://github.com/advisories/GHSA-f4j9-crrj-867q