Vulnerability library
Security checkSeptember 12, 2023

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

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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.

Recommendation

No fix is available yet. Followings are affected versions:

  • <= 2.0.1

References

Could your website be exposed too?

SmartScanner can check your website for html-parse-stringify and html-parse-stringify2 vulnerable to Regular expression denial of service (ReDoS) and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated September 12, 2023