Skip to content
Closed
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-27T21:59:55Z",
"modified": "2026-03-27T21:59:57Z",
"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 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.",
"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"
Comment on lines 11 to 14
Copy link

Copilot AI Mar 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR description says "Updates - CVSS v3", but the diff removes the CVSS_V3 entry entirely. If the intent is to update CVSS v3, adjust/replace the v3 vector/score instead of deleting it; if the intent is to drop CVSS v3, please update the PR description accordingly.

Copilot uses AI. Check for mistakes.
Expand Down Expand Up @@ -92,10 +88,6 @@
{
"type": "WEB",
"url": "https://www.vulncheck.com/advisories/dompurify-xss-via-missing-rawtext-elements-in-safe-for-xml"
},
{
"type": "WEB",
"url": "https://www.vulncheck.com/advisories/dompurify-xss-via-missing-rawtext-elements-in-safeforxml"
}
],
"database_specific": {
Copy link

Copilot AI Mar 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR description requests adding finder credit ("I would like to ask for credit as I was the finder"), but no credit/acknowledgements field appears to be added in this change. If credit is intended, add it in the appropriate advisory field (per this repo’s advisory schema/conventions), or update the PR description to reflect that credit is out-of-scope for this PR.

Copilot uses AI. Check for mistakes.
Expand Down
Loading