npm package
svelte vulnerabilities by version
The latest release, 5.57.2 (Oct 6, 2026), has no known vulnerabilities. 40% of last week’s 6.8M downloads went to versions with known vulnerabilities. OSV.dev lists 14 advisories for svelte; the newest was published on May 14, 2026.
npm (opens in a new tab) describes it as “Cybernetically enhanced web apps”
- Latest release
- 5.57.2
- Oct 6, 2026, no known vulnerabilities
- Downloads last week
- 6.8M
- All versions, from npm
- Advisories on OSV.dev
- 14
- Newest May 14, 2026
- Licence
- MIT
Most-downloaded versions last week
From npm’s per-version download counts for the last 7 days, each checked against OSV.dev. Open a version for its advisories and what to upgrade to.
Who is still on a vulnerable svelte
40% of last week’s 6.8M svelte downloads went to versions with known vulnerabilities.
From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.
Release lines
Support dates from endoflife.date (opens in a new tab). A line past its end date gets no more security fixes.
Newest advisories
The 5 most recently published, with the versions each one affects.
WarningGHSA-f3cj-j4f6-wq85 on OSV.dev (opens in a new tab)
Svelte: SSR XSS via Insecure Promise Serialization in hydratable
Affects >= 5.46.0, < 5.55.7. Published May 14, 2026.
WarningCVE-2026-42573 on OSV.dev (opens in a new tab)GHSA-rcqx-6q8c-2c42
Svelte Vulnerable to XSS via DOM Clobbering of Internal Framework State
Affects < 5.55.7. Published May 14, 2026.
WarningCVE-2026-42567 on OSV.dev (opens in a new tab)GHSA-9rmh-mm8f-r9h6
Svelte: ReDoS in `<svelte:element>` Tag Validation
Affects >= 5.51.5, < 5.55.7. Published May 14, 2026.
WarningCVE-2026-42599 on OSV.dev (opens in a new tab)GHSA-pr6f-5x2q-rwfp
Svelte SSR vulnerable to cross-site scripting via spread attributes
Affects < 5.55.7. Published May 14, 2026.
WarningCVE-2026-27902 on OSV.dev (opens in a new tab)GHSA-qgvg-pr8v-6rr3
Svelte: XSS via HTML Comment Injection in SSR Error Boundary Hydration Markers
Affects >= 5.53.0, < 5.53.5. Published Feb 26, 2026.
All 14 advisories are on OSV.dev (opens in a new tab).
Which svelte do you have?
Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task for your coding agent. Free, no sign-up.
How this page is checked
StackPrism reads every OSV.dev advisory for svelte, merges duplicates filed under several ids, and asks OSV.dev which ones affect each version listed. Releases and their dates come from deps.dev, downloads from npm, support dates from endoflife.date. No AI writes this page: every sentence comes from that data, refreshed every few hours.
Last checked against OSV.dev, CISA KEV, npm, deps.dev and endoflife.date.