Security mailing lists by PureSourceCode

CVE-2020-26870

MEDIUM 6.1CVSS 3.1

Cross-site Scripting in dompurify

Cure53 DOMPurify before 2.0.17 allows mutation XSS. This occurs because a serialize-parse roundtrip does not necessarily return the original DOM tree, and a namespace can change from HTML to MathML, as demonstrated by nesting of FORM elements.

Published
7 Oct 2020
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-63q7-h895-m982
Sources
NVDJSONOSV GHSA-63q7-h895-m982JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD cure53 dompurify
cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:*
< 2.0.17 2.0.17
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD microsoft visual_studio_2017
cpe:2.3:a:microsoft:visual_studio_2017:15.9:*:*:*:*:*:*:*
= 15.9
NVD microsoft visual_studio_2019
cpe:2.3:a:microsoft:visual_studio_2019:16.0:*:*:*:*:*:*:*
= 16.0
NVD microsoft visual_studio_2019
cpe:2.3:a:microsoft:visual_studio_2019:16.4:*:*:*:*:*:*:*
= 16.4
NVD microsoft visual_studio_2019
cpe:2.3:a:microsoft:visual_studio_2019:16.7:*:*:*:*:*:*:*
= 16.7
NVD microsoft visual_studio_2019
cpe:2.3:a:microsoft:visual_studio_2019:16.8:*:*:*:*:*:*:*
= 16.8
NVD oracle application_express
cpe:2.3:a:oracle:application_express:*:*:*:*:*:*:*:*
< 21.1.0.00.01 21.1.0.00.01
OSV npm dompurify < 2.0.17 2.0.17

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 7 Oct 2020)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 18 Dec 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.