Vulnerabilities · 2021 · Svelte
CVE-2021-29261
Svelte vulnerability
The unofficial Svelte extension before 104.8.0 for Visual Studio Code allows attackers to execute arbitrary code via a crafted workspace configuration.
Affected products
Svelte. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Svelte runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/sveltejs/language-tools/commit/5d7bf1fd98bfe2cd2080863a3c95ce099b898075 · Patch
- github.com/sveltejs/language-tools/releases · Third Party Advisory
- github.com/sveltejs/language-tools/releases/tag/extensions-104.8.0 · Third Party Advisory
- marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode · Third Party Advisory
- vuln.ryotak.me/advisories/3 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-29261
- cve.org/CVERecord?id=CVE-2021-29261
More vulnerabilities in Svelte products
CVE-2026-22803CVE-2026-22775CVE-2026-22774CVE-2025-67647CVE-2025-15265CVE-2024-53262CVE-2024-53261CVE-2024-45047All 13
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.