# svelte (npm) vulnerabilities

12 known vulnerabilities (12 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://www.npmjs.com/package/svelte

## Advisories (12)

### [CVE-2026-42599](https://cve.now/CVE-2026-42599): Cross-site scripting via spread attributes in Svelte SSR

- Severity: Medium 5.1
- Published: Jun 9, 2026
- Affected: fixed in 5.55.7.

### [CVE-2026-42567](https://cve.now/CVE-2026-42567): Svelte: ReDoS in \`\<svelte:element\>\` Tag Validation

- Severity: Medium 5.9
- Published: Jun 9, 2026
- Affected: from 5.51.5, fixed in 5.55.7.

### [CVE-2026-42573](https://cve.now/CVE-2026-42573): Svelte: XSS via DOM Clobbering of Internal Framework State

- Severity: Medium 5.3
- Published: Jun 9, 2026
- Affected: fixed in 5.55.7.

### [CVE-2026-27902](https://cve.now/CVE-2026-27902): Svelte Vulnerable to XSS via HTML Comment Injection in SSR Error Boundary Hydration Markers

- Severity: Medium 5.3
- Published: Feb 26, 2026
- Affected: from 5.53.0, fixed in 5.53.5.

### [CVE-2026-27901](https://cve.now/CVE-2026-27901): Svelte vulnerable to XSS during SSR with contenteditable \`bind:innerText\` and \`bind:textContent\`

- Severity: Medium 5.3
- Published: Feb 26, 2026
- Affected: fixed in 5.53.5.

### [CVE-2026-27125](https://cve.now/CVE-2026-27125): Svelte SSR attribute spreading includes inherited properties from prototype chain

- Severity: Medium 5.3
- Published: Feb 20, 2026
- Affected: fixed in 5.51.5.

### [CVE-2026-27122](https://cve.now/CVE-2026-27122): Svelte SSR does not validate dynamic element tag names in \`\<svelte:element\>\`

- Severity: Medium 5.1
- Published: Feb 20, 2026
- Affected: fixed in 5.51.5.

### [CVE-2026-27121](https://cve.now/CVE-2026-27121): Svelte affected by cross-site scripting via spread attributes in Svelte SSR

- Severity: Medium 5.1
- Published: Feb 20, 2026
- Affected: fixed in 5.51.5.

### [CVE-2026-27119](https://cve.now/CVE-2026-27119): Svelte affected by XSS in SSR \`\<option\>\` element

- Severity: Medium 5.1
- Published: Feb 20, 2026
- Affected: from 5.39.3, fixed in 5.51.5.

### [CVE-2025-15265](https://cve.now/CVE-2025-15265): Svelte 5.46.0 - Hydratable Key Script-Breakout XSS (SSR)

- Severity: Medium 5.3
- Published: Jan 15, 2026
- Affected: from 5.46.0, fixed in 5.46.3; from 5.46.0, fixed in 5.46.4.

### [CVE-2024-45047](https://cve.now/CVE-2024-45047): Potential mXSS vulnerability due to improper HTML escaping in svelte

- Severity: Medium 5.4
- Published: Aug 30, 2024
- Affected: fixed in 4.2.19.

### [CVE-2022-25875](https://cve.now/CVE-2022-25875): Cross-site Scripting (XSS)

- Severity: Medium 5.4
- Published: Jul 12, 2022
- Affected: fixed in 3.49.0.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/svelte
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
