Advisory

GHSA-phwv-c562-gvmh

Also known as: CVE-2026-27901

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-02-26 22:24 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

svelte

npm · All systems

Affected

  • introduced 0, fixed 5.53.5 (semver)

Fixed versions

5.53.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences