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.

VersionKnown vulnerabilitiesDownloads
5.57.1Sep 18, 2026No known vulnerabilities984.3K
5.57.2latestOct 6, 2026No known vulnerabilities756.5K
5.57.0Aug 28, 2026No known vulnerabilities622.6K
5.34.9Jun 28, 20256 known vulnerabilities, worst rated warning616.9K
4.2.2Oct 19, 2023End of life7 known vulnerabilities, worst rated warning529.1K
5.56.8Jul 24, 2026No known vulnerabilities260K
5.56.3Jun 7, 2026No known vulnerabilities253.1K
5.56.4Jun 23, 2026No known vulnerabilities247.7K

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.

LineLatestSecurity support
55.57.2No end date announced
44.2.20Ended Oct 19, 2024
33.59.2Ended Jun 22, 2023
22.16.1Ended Apr 21, 2019
11.64.1Ended Apr 19, 2018

Newest advisories

The 5 most recently published, with the versions each one affects.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

Check your whole repo

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.