GHSA-mjjq-c88q-qhr6

Suggest an improvement
Source
https://github.com/advisories/GHSA-mjjq-c88q-qhr6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-mjjq-c88q-qhr6/GHSA-mjjq-c88q-qhr6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mjjq-c88q-qhr6
Published
2020-09-03T21:22:00Z
Modified
2021-09-29T20:13:06Z
Summary
Cross-Site Scripting in dompurify
Details

Versions of dompurify prior to 2.0.7 are vulnerable to Cross-Site Scripting (XSS). It is possible to bypass the package sanitization through Mutation XSS, which may allow an attacker to execute arbitrary JavaScript in a victim's browser.

Recommendation

Upgrade to version 2.0.7 or later.

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-08-31T18:51:30Z",
    "nvd_published_at":  null,
    "severity":  "CRITICAL"
}
References

Affected packages

npm / dompurify

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-mjjq-c88q-qhr6/GHSA-mjjq-c88q-qhr6.json"