CVE-2021-29261
CVE-2021-29261 is a high-severity vulnerability in Svelte with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- CVSS v2: 6.8
- EPSS exploit prediction: 1% (66th percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Svelte
- Published:
- Last modified:
Description
The unofficial Svelte extension before 104.8.0 for Visual Studio Code allows attackers to execute arbitrary code via a crafted workspace configuration.
Frequently asked questions
- What is CVE-2021-29261?
- The unofficial Svelte extension before 104.8.0 for Visual Studio Code allows attackers to execute arbitrary code via a crafted workspace configuration.
- How severe is CVE-2021-29261?
- CVE-2021-29261 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2021-29261 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (66th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-29261?
- CVE-2021-29261 affects Svelte. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-29261?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2021-29261 published?
- CVE-2021-29261 was published on 2021-04-05 and last updated on 2026-06-17.
References
- https://github.com/sveltejs/language-tools/commit/5d7bf1fd98bfe2cd2080863a3c95ce099b898075
- https://github.com/sveltejs/language-tools/releases
- https://github.com/sveltejs/language-tools/releases/tag/extensions-104.8.0
- https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode
- https://vuln.ryotak.me/advisories/3
Affected products (1)
- cpe:2.3:a:svelte:svelte:*:*:*:*:*:visual_studio_code:*:*
More vulnerabilities in Svelte
- CVE-2026-42567 — High (CVSS 7.5): Svelte is a performance oriented web framework. From version 5.51.5 to before version 5.55.7, an internal regex in the…
- CVE-2026-27125 — Medium (CVSS 6.8): svelte performance oriented web framework. Prior to 5.51.5, in server-side rendering, attribute spreading on elements…
- CVE-2026-42599 — Medium (CVSS 6.1): Svelte is a performance oriented web framework. Prior to version 5.55.7, when using spread syntax to render attributes…
- CVE-2026-42573 — Medium (CVSS 6.1): Svelte is a performance oriented web framework. Prior to version 5.55.7, Svelte was vulnerable to DOM clobbering of its…
- CVE-2026-27901 — Medium (CVSS 6.1): Svelte performance oriented web framework. Prior to version 5.53.5, the contents of `bind:innerText` and…
- CVE-2025-15265 — Medium (CVSS 6.1): An SSR XSS exists in async hydration when attacker‑controlled keys are passed to hydratable. The key is embedded…