CVE-2021-29261 Code injection in n/a
Attackers can execute arbitrary code via a crafted workspace configuration in the unofficial Svelte extension for Visual Studio Code.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-29261?
CVE-2021-29261 is a high-severity code injection vulnerability in n/a, published on 5 Apr 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
The unofficial Svelte extension before 104.8.0 for Visual Studio Code allows attackers to execute arbitrary code via a crafted workspace configuration.
Which versions are affected by CVE-2021-29261?
It affects 1 product.
Products include Svelte Svelte.
How do I fix CVE-2021-29261?
No fix has been published for CVE-2021-29261 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2021-29261 being exploited?
There is no known exploitation of CVE-2021-29261 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2026-42567 Svelte: ReDoS in `<svelte:element>` Tag Validation
- CVE-2024-45047 Potential mXSS vulnerability due to improper HTML escaping in svelte
- CVE-2022-25875 Cross-site Scripting (XSS)
- CVE-2026-42573 Svelte: XSS via DOM Clobbering of Internal Framework State
- CVE-2026-27901 Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`
Sources
Also known as GHSA-7hhg-cf2m-8xw7.