Skip to content

[SECURITY] Pin dependency svelte to 4.2.20#53

Open
lucca-renovate[bot] wants to merge 1 commit intomasterfrom
renovate/npm-devDependencies-npm-svelte-vulnerability
Open

[SECURITY] Pin dependency svelte to 4.2.20#53
lucca-renovate[bot] wants to merge 1 commit intomasterfrom
renovate/npm-devDependencies-npm-svelte-vulnerability

Conversation

@lucca-renovate
Copy link
Copy Markdown
Contributor

@lucca-renovate lucca-renovate bot commented Feb 25, 2026

Description

This PR contains the following updates:

Package Type Update Change
svelte (source) devDependencies pin ^4.2.194.2.20

⚠️ Renovate's pin functionality does not currently wire in the release age for a package, so the Minimum Release Age checks can apply. You will need to manually validate the Minimum Release Age for these package(s).

GitHub Vulnerability Alerts

CVE-2026-27121

Versions of svelte prior to 5.51.5 are vulnerable to cross-site scripting (XSS) during server-side rendering. When using spread syntax to render attributes from untrusted data, event handler properties are included in the rendered HTML output. If an application spreads user-controlled or external data as element attributes, an attacker can inject malicious event handlers that execute in victims' browsers.

CVE-2026-27122

When using <svelte:element this={tag}> in server-side rendering, the provided tag name is not validated or sanitized before being emitted into the HTML output. If the tag string contains unexpected characters, it can result in HTML injection in the SSR output. Client-side rendering is not affected.

CVE-2026-27125

In server-side rendering, attribute spreading on elements (e.g. <div {...attrs}>) enumerates inherited properties from the object's prototype chain rather than only own properties. In environments where Object.prototype has already been polluted — a precondition outside of Svelte's control — this can cause unexpected attributes to appear in SSR output or cause SSR to throw errors. Client-side rendering is not affected.

CVE-2026-27901

The contents of bind:innerText and bind:textContent on contenteditable elements were not properly escaped. This could enable HTML injection and Cross-site Scripting (XSS) if rendering untrusted data as the binding's initial value on the server.

Add the preset :preserveSemverRanges to your config if you don't want to pin your dependencies.


Configuration

📅 Schedule: Branch creation - "" in timezone Europe/Paris, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@lucca-renovate lucca-renovate bot changed the title [SECURITY] Pin dependency svelte to 4.2.20 [SECURITY] Pin dependency svelte to 4.2.20 - autoclosed Mar 27, 2026
@lucca-renovate lucca-renovate bot closed this Mar 27, 2026
@lucca-renovate lucca-renovate bot deleted the renovate/npm-devDependencies-npm-svelte-vulnerability branch March 27, 2026 08:22
@lucca-renovate lucca-renovate bot changed the title [SECURITY] Pin dependency svelte to 4.2.20 - autoclosed [SECURITY] Pin dependency svelte to 4.2.20 Mar 31, 2026
@lucca-renovate lucca-renovate bot reopened this Mar 31, 2026
@lucca-renovate lucca-renovate bot force-pushed the renovate/npm-devDependencies-npm-svelte-vulnerability branch 2 times, most recently from 3e9196a to 92039e6 Compare March 31, 2026 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants