GHSA-phwv-c562-gvmh

Suggest an improvement
Source
https://github.com/advisories/GHSA-phwv-c562-gvmh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-phwv-c562-gvmh/GHSA-phwv-c562-gvmh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-phwv-c562-gvmh
Aliases
Published
2026-02-26T22:24:54Z
Modified
2026-02-26T22:33:50.412492Z
Severity
  • 5.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2026-02-26T02:16:20Z",
    "github_reviewed_at": "2026-02-26T22:24:54Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE"
}
References

Affected packages

npm / svelte

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.53.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-phwv-c562-gvmh/GHSA-phwv-c562-gvmh.json"
last_known_affected_version_range
"<= 5.53.4"