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.
References (6)
Core 6
Core References
Exploit, Patch, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY-1079306
Exploit, Patch, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY2-1079307
Exploit, Patch, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1080633
Broken Link, Third Party Advisory x_refsource_misc
https://github.com/rayd/html-parse-stringify2/blob/master/lib/parse.js%23L2
Broken Link, Third Party Advisory x_refsource_misc
https://github.com/HenrikJoreteg/html-parse-stringify/blob/master/lib/parse.js%23L2
Patch, Third Party Advisory x_refsource_misc
https://github.com/HenrikJoreteg/html-parse-stringify/commit/c7274a48e59c92b2b7e906fedf9065159e73fe12
Scores
CVSS v3
4.8
EPSS
0.0222
EPSS Percentile
80.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Details
Status
published
Products (3)
html-parse-stringify_project/html-parse-stringify
< 2.0.1
npm/html-parse-stringify
0 - 2.0.1npm
npm/html-parse-stringify2
0npm
Published
Mar 04, 2021
Tracked Since
Feb 18, 2026