\n{@render snippets[active]?.()}\n```\n\nwould output a `tab` value such as `x\">` as live HTML.\n\n## Impact\n\nReflected cross-site scripting. An attacker who gets a user to open a crafted link can run JavaScript on the site's origin, but only in applications where all of the following are true:\n\n- The page","datePublished":"2026-11-12","dateModified":"2026-11-17","url":"https://cveprofessor.com/en/cve/CVE-2026-126362","mainEntityOfPage":{"@type":"WebPage","@id":"https://cveprofessor.com/en/cve/CVE-2026-126362"},"keywords":"CVE-2026-126362, LOW, exploit, PoC, FOFA, WAF, CWE-79, @astrojs/svelte","author":{"@type":"Organization","name":"CVE Professor","url":"https://cveprofessor.com"},"publisher":{"@type":"Organization","name":"CVE Professor","url":"https://cveprofessor.com"}} \n{@render snippets[active]?.()}\n```\n\nwould output a `tab` value such as `x\">` as live HTML.\n\n## Impact\n\nReflected cross-site scripting. An attacker who gets a user to open a crafted link can run JavaScript on the site's origin, but only in applications where all of the following are true:\n\n- The page"}},{"@type":"Question","name":"What is the CVSS score, affected products, and remediation for CVE-2026-126362?","acceptedAnswer":{"@type":"Answer","text":"CVE-2026-126362 has a CVSS base score of 5/10 (LOW). Affected products include: @astrojs/svelte. Apply the vendor security patch or WAF mitigation rules immediately."}}]}
CVE Professor
›
CVE-2026-126362

CWE-79

LOW CVSS 5 GitHub

## 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 the page. For example, a page that takes a slot name from the request: ```astro --- import Tabs from '../components/Tabs.svelte'; const tab = Astro.url.searchParams.get('tab'); --- <Tabs client:load active={tab}><div slot={tab}>…</div></Tabs> ``` rendered with a Svelte 5 component that renders its snippets by name: ```svelte <script> let { active, ...snippets } = $props(); </script> {@render snippets[active]?.()} ``` would output a `tab` value such as `x"><img src=x onerror=alert(1)>` as live HTML. ## Impact Reflected cross-site scripting. An attacker who gets a user to open a crafted link can run JavaScript on the site's origin, but only in applications where all of the following are true: - The page

Yayınlanma 12.11.2026
ISO Tarih 2026-11-12
Kaynak GitHub
AI Güvenlik Analizi
🤖 Yapay Zeka Güvenlik Analizi Hazırlanıyor…
CVSS vektörü ve CWE zayıflık yapısı inceleniyor…
Hedef Keşif Sorguları
CVSS Skoru
5 / 10 · CVSS LOW
Zayıflık Türleri (CWE)
CWE-79
Etkilenen Ürünler (1)
@astrojs/svelte
Referanslar (4)
İlgili CVE'ler
9.8
CVE-2026-130735
Grav from 2.0.0 before 2.2.18 contains a Twig injection vulnerability that allows media-only accounts and anon
9.8
CVE-2026-73969
AnsibleForms is a self-hosted web application that turns automation into self-service forms. Prior to 6.2.1, A
9.6
CVE-2026-130680
SiYuan from 3.3.0 before 3.8.10 contains a stored cross-site scripting vulnerability that allows attackers to
9.4
CVE-2026-130681
SiYuan before 3.8.10 contains a stored cross-site scripting vulnerability, an incomplete fix for CVE-2026-4467
9.4
CVE-2026-130678
SiYuan before 3.8.10 contains a stored cross-site scripting vulnerability that allows attackers to execute scr
9.4
CVE-2026-130679
SiYuan before 3.8.10 contains a stored cross-site scripting vulnerability in genAVValueHTML() that allows atta
{@render snippets[active]?.()} ``` would output a `tab` value such as `x\">` as live HTML. ## Impact Reflected cross-site scripting. An attacker who gets a user to open a crafted link can run JavaScript on the site\'s origin, but only in applications where all of the following are true: - The page\n\n` + `## Teknik Analiz\n${txt}\n`; const blob = new Blob([md], {type:'text/markdown;charset=utf-8'}); const a = document.createElement('a'); a.href = URL.createObjectURL(blob); a.download = 'CVE-2026-126362-analiz.md'; a.click(); } document.addEventListener('DOMContentLoaded', () => { reAnalyze('en', true); });