Regular Expression Denial of Service (ReDoS) Affecting org.webjars.npm:html-parse-stringify package, versions [,2.0.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
2.13% (80th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Regular Expression Denial of Service (ReDoS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-18860580
  • published14 Sept 2026
  • disclosed1 Mar 2021
  • creditYeting Li

Introduced: 1 Mar 2021

CVE-2021-23346  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade org.webjars.npm:html-parse-stringify to version 2.0.1 or higher.

Overview

org.webjars.npm:html-parse-stringify is a https://github.com/henrikjoreteg/html-parse-stringify

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). Sending certain input could cause one of the regular expressions that is used for parsing to backtrack, freezing the process.

CVSS Base Scores

version 3.1