Skip to content

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

MediumCVSS 5.3 EPSS 2.1%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
html-parse-stringify project html-parse-stringify < 2.0.1 2.0.1 Fixed
npm html-parse-stringify(npm) < 2.0.1 2.0.1 Fixed
npm html-parse-stringify2(npm) <= 2.0.1 after 2.0.1 Fixed

Affected products

ProductAffected versionsFixed in
npm html-parse-stringify(npm) < 2.0.1 2.0.1
npm html-parse-stringify2(npm) <= 2.0.1 No fix listed
html-parse-stringify project html-parse-stringify < 2.0.1 2.0.1

References