Skip to content

Commit 11bfe5a

Browse files
committed
1 parent c0b440d commit 11bfe5a

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

advisories/github-reviewed/2026/03/GHSA-v2wj-7wpq-c8vv/GHSA-v2wj-7wpq-c8vv.json

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-v2wj-7wpq-c8vv",
4-
"modified": "2026-03-04T20:51:54Z",
4+
"modified": "2026-03-04T20:51:56Z",
55
"published": "2026-03-03T18:31:33Z",
66
"aliases": [
77
"CVE-2026-0540"
88
],
99
"summary": "DOMPurify contains a Cross-site Scripting vulnerability",
10-
"details": "DOMPurify 3.1.3 through 3.3.1 and 2.5.3 through 2.5.8, fixed in commit 729097f, contain a cross-site scripting vulnerability that allows attackers to bypass attribute sanitization by exploiting five missing rawtext elements (noscript, xmp, noembed, noframes, iframe) in the SAFE_FOR_XML regex. Attackers can include payloads like </noscript><img src=x onerror=alert(1)> in attribute values to execute JavaScript when sanitized output is placed inside these unprotected rawtext contexts.",
10+
"details": "DOMPurify 3.1.3 through 3.3.1 and 2.5.3 through 2.5.8, fixed in 2.5.9 and 3.3.2, contain a cross-site scripting vulnerability that allows attackers to bypass attribute sanitization by exploiting five missing rawtext elements (noscript, xmp, noembed, noframes, iframe) in the SAFE_FOR_XML regex. Attackers can include payloads like </noscript><img src=x onerror=alert(1)> in attribute values to execute JavaScript when sanitized output is placed inside these unprotected rawtext contexts.",
1111
"severity": [
12-
{
13-
"type": "CVSS_V3",
14-
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
15-
},
1612
{
1713
"type": "CVSS_V4",
1814
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
@@ -32,11 +28,14 @@
3228
"introduced": "3.1.3"
3329
},
3430
{
35-
"last_affected": "3.3.1"
31+
"fixed": "3.3.2"
3632
}
3733
]
3834
}
39-
]
35+
],
36+
"database_specific": {
37+
"last_known_affected_version_range": "<= 3.3.1"
38+
}
4039
},
4140
{
4241
"package": {
@@ -51,11 +50,14 @@
5150
"introduced": "2.5.3"
5251
},
5352
{
54-
"last_affected": "2.5.8"
53+
"fixed": "2.5.9"
5554
}
5655
]
5756
}
58-
]
57+
],
58+
"database_specific": {
59+
"last_known_affected_version_range": "<= 2.5.8"
60+
}
5961
}
6062
],
6163
"references": [

0 commit comments

Comments
 (0)