High severity · published Apr 5, 2021
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
7.8
CVSS
1.4%
EPSS
No
On KEV
Description
The unofficial Svelte extension before 104.8.0 for Visual Studio Code allows attackers to execute arbitrary code via a crafted workspace configuration.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.4% · higher than 72% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SV
Svelte · Svelte
before 104.8.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-29261
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-29261
Patch
https://github.com/sveltejs/language-tools/commit/5d7bf1fd98bfe2cd2080863a3c95ce099b898075
Third Party Advisory
https://github.com/sveltejs/language-tools/releases
Release Notes
https://github.com/sveltejs/language-tools/releases/tag/extensions-104.8.0
Product
https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode
Third Party Advisory
https://vuln.ryotak.me/advisories/3
More from Svelte
7.5
CVE-2026-42567
Svelte: ReDoS in `<svelte:element>` Tag Validation
6.8
CVE-2026-27125
Svelte SSR attribute spreading includes inherited properties from prototype chain
6.1
CVE-2026-42599
Cross-site scripting via spread attributes in Svelte SSR
6.1
CVE-2026-42573
Svelte: XSS via DOM Clobbering of Internal Framework State
6.1
CVE-2026-27901
Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`
