{"cve":"CVE-2021-23346","nvd":{"published":"2021-03-04T17:15:13.700","modified":"2026-06-17T03:38:35.853","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3},"cwes":[],"references":["https://github.com/HenrikJoreteg/html-parse-stringify/blob/master/lib/parse.js%23L2","https://github.com/HenrikJoreteg/html-parse-stringify/commit/c7274a48e59c92b2b7e906fedf9065159e73fe12","https://github.com/rayd/html-parse-stringify2/blob/master/lib/parse.js%23L2","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1080633","https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY-1079306"],"products":["html-parse-stringify_project:html-parse-stringify"],"source":"nvd","synced_at":"2026-10-19T21:15:50.279857260+00:00"},"epss":{"cve":"CVE-2021-23346","score":0.02129,"percentile":0.81959,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-545q-3fg6-48m7","url":"https://osv.dev/vulnerability/GHSA-545q-3fg6-48m7","summary":"html-parse-stringify and html-parse-stringify2 vulnerable to Regular expression denial of service (ReDoS)","modified":"2025-01-14T08:56:53.391305Z","packages":[{"ecosystem":"npm","name":"html-parse-stringify","purl":"pkg:npm/html-parse-stringify","ranges":["<2.0.1"],"fixed":["2.0.1"]},{"ecosystem":"npm","name":"html-parse-stringify2","purl":"pkg:npm/html-parse-stringify2","ranges":["<=2.0.1"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}