GHSA-545q-3fg6-48m7

html-parse-stringify and html-parse-stringify2 vulnerable to Regular expression denial of service (ReDoS)

At a glance

Published
Updated
CVE
CVE-2021-23346
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

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

PackageVersions
npm · html-parse-stringifyintroduced 0, fixed 2.0.1
npm · html-parse-stringify2introduced 0, last affected 2.0.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database