chore(deps): update dependency svelte to v4.2.19 [security] #165
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.2.8
->4.2.19
GitHub Vulnerability Alerts
CVE-2024-45047
Summary
A potential XSS vulnerability exists in Svelte for versions prior to 4.2.19.
Details
Svelte improperly escapes HTML on server-side rendering. It converts strings according to the following rules:
"
->"
&
->&
<
-><
&
->&
The assumption is that attributes will always stay as such, but in some situation the final DOM tree rendered on browsers is different from what Svelte expects on server-side rendering. This may be leveraged to perform XSS attacks. More specifically, this can occur when injecting malicious content into an attribute within a
<noscript>
tag.PoC
A vulnerable page (
+page.svelte
):If a user accesses the following URL,
then,
alert(123)
will be executed.Impact
XSS, when using an attribute within a noscript tag
Release Notes
sveltejs/svelte (svelte)
v4.2.19
Compare Source
Patch Changes
fix: ensure typings for
<svelte:options>
are picked up (#12902)fix: escape
<
in attribute strings (#12989)v4.2.18
Compare Source
Patch Changes
v4.2.17
Compare Source
Patch Changes
v4.2.16
Compare Source
Patch Changes
v4.2.15
Compare Source
Patch Changes
v4.2.14
Compare Source
Patch Changes
v4.2.13
Compare Source
Patch Changes
v4.2.12
Compare Source
Patch Changes
svelte:component
props when there are spread props (#10604)v4.2.11
Compare Source
Patch Changes
connectedCallback
(#10466)v4.2.10
Compare Source
Patch Changes
fix: add
scrollend
event type (#10336)fix: add
fetchpriority
attribute type (#10390)fix: Add
miter-clip
andarcs
tostroke-linejoin
attribute (#10377)fix: make inline doc links valid (#10366)
v4.2.9
Compare Source
Patch Changes
fix: add types for popover attributes and events (#10042)
fix: add
gamepadconnected
andgamepaddisconnected
events (#9864)fix: make
@types/estree
a dependency (#10149)fix: bump
axobject-query
(#10167)Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.