Security mailing lists by PureSourceCode

CVE-2021-23346

MEDIUM 5.3CVSS 3.1

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

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.

Published
4 Mar 2021
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-400
Also known as
GHSA-545q-3fg6-48m7
Sources
NVDJSONOSV GHSA-545q-3fg6-48m7JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD report@snyk.io (Secondary) CVSS 3.1 MEDIUM 4.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD html-parse-stringify_project html-parse-stringify
cpe:2.3:a:html-parse-stringify_project:html-parse-stringify:*:*:*:*:*:node.js:*:*
< 2.0.1 2.0.1
OSV npm html-parse-stringify < 2.0.1 2.0.1
OSV npm html-parse-stringify2 <= 2.0.1

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 4 Mar 2021)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 18 Mar 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.