GHSA-63q7-h895-m982

Suggest an improvement
Source
https://github.com/advisories/GHSA-63q7-h895-m982
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/12/GHSA-63q7-h895-m982/GHSA-63q7-h895-m982.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-63q7-h895-m982
Aliases
Published
2020-12-18T22:51:40Z
Modified
2023-11-08T04:03:20.096890Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Cross-site Scripting in dompurify
Details

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.

Database specific
{
    "nvd_published_at": "2020-10-07T16:15:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2020-12-18T22:51:27Z"
}
References

Affected packages

npm / dompurify

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.17