CVE-2026-27901

medium

Description

Svelte performance oriented web framework. Prior to version 5.53.5, 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. Version 5.53.5 fixes the issue.

References

https://github.com/sveltejs/svelte/security/advisories/GHSA-phwv-c562-gvmh

https://github.com/sveltejs/svelte/releases/tag/svelte%405.53.5

https://github.com/sveltejs/svelte/commit/0df5abcae223058ceb95491470372065fb87951d

Details

Source: Mitre, NVD

Published: 2026-02-26

Risk Information

CVSS v2

Base Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 6.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Severity: Medium

CVSS v4

Base Score: 5.3

Vector: 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

Severity: Medium