GHSA-3j7m-hmh3-9jmp

Suggest an improvement
Source
https://github.com/advisories/GHSA-3j7m-hmh3-9jmp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/04/GHSA-3j7m-hmh3-9jmp/GHSA-3j7m-hmh3-9jmp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3j7m-hmh3-9jmp
Aliases
Published
2020-04-16T03:14:47Z
Modified
2023-11-08T03:58:08.213705Z
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 sanitize-html
Details

Affected versions of sanitize-html do not sanitize input recursively, which may allow an attacker to execute arbitrary Javascript.

Recommendation

Update to version 1.4.3 or later.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "github_reviewed_at": "2020-04-16T02:54:08Z",
    "nvd_published_at": null,
    "severity": "MODERATE",
    "github_reviewed": true
}
References

Affected packages

npm / sanitize-html

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/04/GHSA-3j7m-hmh3-9jmp/GHSA-3j7m-hmh3-9jmp.json"