svelte
5.58.0 · 18 Nov 2026MIT10.4M / weekRepositoryHomepagenpmAtom feed
Upgrading svelte From 4.2.11 to 4.2.20
9 releases in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 1
- advisory fixed
- 1
- new
- 8
- fixes
Security
6 advisories still affect 4.2.20
- Svelte SSR attribute spreading includes inherited properties from prototype chainmoderate · GHSA-crpf-4hrx-3jrp
- Svelte affected by cross-site scripting via spread attributes in Svelte SSRmoderate · GHSA-f7gr-6p89-r883
- Svelte SSR does not validate dynamic element tag names in `<svelte:element>`moderate · GHSA-m56q-vw4c-c2cp
Upgrading to 5.55.7 clears them.
Fixes 1 advisory affecting 4.2.11
- Svelte has a potential mXSS vulnerability due to improper HTML escapingmoderate · GHSA-8266-84wp-wv5c
Release by release
- Fixed
Properly remove event listeners in Component's removeEventListener
- Fixed
- Fixed
Ensure typings for
<svelte:options>are picked up - Fixed
Escape
<in attribute strings
- Fixed
4.2.18nothing new or fixed in the note
- Fixed
Correctly handle falsy values of style directives in SSR mode
- Fixed
- Fixed
Check if svelte component exists on custom element destroy
- Fixed
- New
Support attribute selector inside :global()
- New
- Fixed
Fix parsing camelcase container query name
- Fixed
- Fixed
Applying :global for +,~ sibling combinator when slots are present
- Fixed
1 internal line (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.