Vulnerability GHSA-phwv-c562-gvmh

Medium Risk
MEDIUM RISK
CVSS Score: 6.0
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
8 months ago
February 26, 2026 at 10:24 PM UTC
Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`
<5.53.5
<5.53.5

Summary

Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`

Details

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.

Impacted packages

Timeline

Published
8 months ago
February 26, 2026 at 10:24 PM UTC
Fixed (5.53.5)
9 months ago
February 25, 2026 at 04:20 PM UTC
Last Modified
2 months ago
September 10, 2026 at 03:50 AM UTC