Vulnerability · Published Mar 4, 2021 · Assigned by snyk

CVE-2021-23346Regular Expression Denial of Service (ReDoS)

Medium 4.8

In plain English

A medium-severity security flaw in html-parse-stringify. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)2.1%top 18.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

This affects the package html-parse-stringify before 2.0.1; all versions of package html-parse-stringify2. Sending certain input could cause one of the regular expressions that is used for parsing to backtrack, freezing the process.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmhtml-parse-stringify2.0.1GHSA-545q-3fg6-48m7
npmhtml-parse-stringify2no fix listedGHSA-545q-3fg6-48m7

Affected products (as reported)

VendorProductVersions
n/a html-parse-stringify unspecified – before 2.0.1
n/a html-parse-stringify2 0 – before unspecified

References