CVE-2021-23346
Regular Expression Denial of Service (ReDoS)
MEDIUM 5.3EPSS 2.1%
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
- html-parse-stringify · html-parse-stringify2
- CVSS v3.1 NVD
- 5.3 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - CVSS v3.1 SNYK
- 4.8 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N - CVSS v2.0 NVD
- 5.0 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P - EPSS
- 2.13% chance of exploitation in the next 30 days, 82nd percentile
- Published
- 2021-03-04
- Updated
- 2024-09-16
Proof-of-concept exploits (3)
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1080633
- https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY-1079306
- https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY2-1079307
Security advisories
- HenrikJoreteg/html-parse-stringify/blob/master/lib/parse.js%23L2
- rayd/html-parse-stringify2/blob/master/lib/parse.js%23L2
- advisories/GHSA-545q-3fg6-48m7