Skip to content

Commit 384b740

Browse files
1 parent 5fbfebe commit 384b740

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

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

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-v2wj-7wpq-c8vv",
4-
"modified": "2026-03-04T20:51:54Z",
4+
"modified": "2026-03-05T20:25:12Z",
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": [
1212
{
1313
"type": "CVSS_V3",
@@ -32,11 +32,14 @@
3232
"introduced": "3.1.3"
3333
},
3434
{
35-
"last_affected": "3.3.1"
35+
"fixed": "3.3.2"
3636
}
3737
]
3838
}
39-
]
39+
],
40+
"database_specific": {
41+
"last_known_affected_version_range": "<= 3.3.1"
42+
}
4043
},
4144
{
4245
"package": {
@@ -51,11 +54,14 @@
5154
"introduced": "2.5.3"
5255
},
5356
{
54-
"last_affected": "2.5.8"
57+
"fixed": "2.5.9"
5558
}
5659
]
5760
}
58-
]
61+
],
62+
"database_specific": {
63+
"last_known_affected_version_range": "<= 2.5.8"
64+
}
5965
}
6066
],
6167
"references": [

0 commit comments

Comments
 (0)