Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| sveltejs | svelte | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Svelte | Svelte |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-phwv-c562-gvmh | Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent` |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.257% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:svelte:svelte:*:*:*:*:*:node.js:*:* cpe:2.3:a:svelte:svelte:5.53.5:*:*:*:*:node.js:*:* |
|
| Metrics |
cvssV3_1
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Svelte
Svelte svelte |
|
| Vendors & Products |
Svelte
Svelte svelte |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent` | |
| Weaknesses | CWE-79 | |
| References |
| |
| Metrics |
cvssV4_0
|