Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
{
"schema_version": "1.4.0",
"id": "GHSA-v2wj-7wpq-c8vv",
"modified": "2026-03-04T20:51:54Z",
"modified": "2026-03-04T20:51:56Z",
"published": "2026-03-03T18:31:33Z",
"aliases": [
"CVE-2026-0540"
],
"summary": "DOMPurify contains a Cross-site Scripting vulnerability",
"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.",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "CVSS_V4",
"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"
Expand All @@ -32,11 +28,14 @@
"introduced": "3.1.3"
},
{
"last_affected": "3.3.1"
"fixed": "3.3.2"
}
]
}
]
],
"database_specific": {
"last_known_affected_version_range": "<= 3.3.1"
}
},
{
"package": {
Expand All @@ -51,11 +50,14 @@
"introduced": "2.5.3"
},
{
"last_affected": "2.5.8"
"fixed": "2.5.9"
}
]
}
]
],
"database_specific": {
"last_known_affected_version_range": "<= 2.5.8"
}
}
],
"references": [
Expand Down
Loading