sanitize-html
Affected
- introduced
0, fixed2.7.1(semver)
Fixed versions
2.7.1
Fix
- Fixed version
2.7.1npm install [email protected]
Advisory
Also known as: CVE-2022-25887
Sanitize-html Vulnerable To REDoS Attacks
The package sanitize-html before 2.7.1 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure global regular expression replacement logic of HTML comment removal.
High Basis: The source's own band: HIGH
0, fixed 2.7.1 (semver)2.7.1
2.7.1npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0