Skip to content

Commit 32635bd

Browse files
1 parent 55999e1 commit 32635bd

2 files changed

Lines changed: 141 additions & 0 deletions

File tree

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-phwv-c562-gvmh",
4+
"modified": "2026-02-26T22:24:54Z",
5+
"published": "2026-02-26T22:24:54Z",
6+
"aliases": [
7+
"CVE-2026-27901"
8+
],
9+
"summary": "Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`",
10+
"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.",
11+
"severity": [
12+
{
13+
"type": "CVSS_V4",
14+
"score": "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"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "npm",
21+
"name": "svelte"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "0"
29+
},
30+
{
31+
"fixed": "5.53.5"
32+
}
33+
]
34+
}
35+
],
36+
"database_specific": {
37+
"last_known_affected_version_range": "<= 5.53.4"
38+
}
39+
}
40+
],
41+
"references": [
42+
{
43+
"type": "WEB",
44+
"url": "https://github.com/sveltejs/svelte/security/advisories/GHSA-phwv-c562-gvmh"
45+
},
46+
{
47+
"type": "ADVISORY",
48+
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-27901"
49+
},
50+
{
51+
"type": "WEB",
52+
"url": "https://github.com/sveltejs/svelte/commit/0df5abcae223058ceb95491470372065fb87951d"
53+
},
54+
{
55+
"type": "PACKAGE",
56+
"url": "https://github.com/sveltejs/svelte"
57+
},
58+
{
59+
"type": "WEB",
60+
"url": "https://github.com/sveltejs/svelte/releases/tag/svelte@5.53.5"
61+
}
62+
],
63+
"database_specific": {
64+
"cwe_ids": [
65+
"CWE-79"
66+
],
67+
"severity": "MODERATE",
68+
"github_reviewed": true,
69+
"github_reviewed_at": "2026-02-26T22:24:54Z",
70+
"nvd_published_at": "2026-02-26T02:16:20Z"
71+
}
72+
}
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-qgvg-pr8v-6rr3",
4+
"modified": "2026-02-26T22:25:45Z",
5+
"published": "2026-02-26T22:25:45Z",
6+
"aliases": [
7+
"CVE-2026-27902"
8+
],
9+
"summary": "Svelte: XSS via HTML Comment Injection in SSR Error Boundary Hydration Markers",
10+
"details": "Errors from `transformError` were not correctly escaped prior to being embedded in the HTML output, causing potential HTML injection and XSS if attacker-controlled content is returned from `transformError`.",
11+
"severity": [
12+
{
13+
"type": "CVSS_V4",
14+
"score": "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"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "npm",
21+
"name": "svelte"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "5.53.0"
29+
},
30+
{
31+
"fixed": "5.53.5"
32+
}
33+
]
34+
}
35+
]
36+
}
37+
],
38+
"references": [
39+
{
40+
"type": "WEB",
41+
"url": "https://github.com/sveltejs/svelte/security/advisories/GHSA-qgvg-pr8v-6rr3"
42+
},
43+
{
44+
"type": "ADVISORY",
45+
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-27902"
46+
},
47+
{
48+
"type": "WEB",
49+
"url": "https://github.com/sveltejs/svelte/commit/0298e979371bb583855c9810db79a70a551d22b9"
50+
},
51+
{
52+
"type": "PACKAGE",
53+
"url": "https://github.com/sveltejs/svelte"
54+
},
55+
{
56+
"type": "WEB",
57+
"url": "https://github.com/sveltejs/svelte/releases/tag/svelte@5.53.5"
58+
}
59+
],
60+
"database_specific": {
61+
"cwe_ids": [
62+
"CWE-79"
63+
],
64+
"severity": "MODERATE",
65+
"github_reviewed": true,
66+
"github_reviewed_at": "2026-02-26T22:25:45Z",
67+
"nvd_published_at": "2026-02-26T02:16:21Z"
68+
}
69+
}

0 commit comments

Comments
 (0)