GHSA-5p28-63mc-cgr9

Suggest an improvement
Source
https://github.com/advisories/GHSA-5p28-63mc-cgr9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/12/GHSA-5p28-63mc-cgr9/GHSA-5p28-63mc-cgr9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5p28-63mc-cgr9
Published
2020-12-04T20:04:37Z
Modified
2020-12-04T20:02:42Z
Summary
Cross-Site Scripting bypass in html-purify
Details

All versions of html-purify are vulnerable to cross-site scripting. The data attribute inside of object tags is not properly sanitized and allows javascript URIs leading to code execution.

No fix is currently available. Consider using an alternative package until a fix is made available.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-12-04T20:02:42Z",
    "nvd_published_at": null,
    "severity": "HIGH"
}
References

Affected packages

npm / html-purify

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
1.1.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/12/GHSA-5p28-63mc-cgr9/GHSA-5p28-63mc-cgr9.json"