CVE-2026-27901

EPSS 0.03%

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

發布日:2026/2/26修改日:2026/4/4
也稱為:GHSA-phwv-c562-gvmhCGA-65pc-m6f3-5gx8

描述

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.

受影響套件(1)

CVSS 分數

來源版本嚴重程度向量
osvCVSS 4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N

參考連結(5)