You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
mend-bolt-for-githubbot
changed the title
CVE-2022-25887 (Medium) detected in sanitize-html-2.1.2.tgz
CVE-2022-25887 (High) detected in sanitize-html-2.1.2.tgz
Oct 20, 2022
CVE-2022-25887 - High Severity Vulnerability
Vulnerable Library - sanitize-html-2.1.2.tgz
Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis
Library home page: https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.1.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/sanitize-html/package.json
Dependency Hierarchy:
Found in HEAD commit: 9211f928afa00c360f34d3ae2c38e9c5c9c642bb
Found in base branch: main
Vulnerability Details
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.
Publish Date: 2022-08-30
URL: CVE-2022-25887
CVSS 3 Score Details (7.5)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25887
Release Date: 2022-08-30
Fix Resolution: 2.7.1
Step up your Open Source Security Game with Mend here
The text was updated successfully, but these errors were encountered: