Every CVESearch/Get API key

GHSA-v2p6-4mp7-3r9v

Regular Expression Denial of Service in underscore.string

No scoreFix available

Versions of underscore.string prior to 3.3.5 are vulnerable to Regular Expression Denial of Service (ReDoS).

The function unescapeHTML is vulnerable to ReDoS due to an overly-broad regex. The slowdown is approximately 2s for 50,000 characters but grows exponentially with larger inputs.

Recommendation

Upgrade to version 3.3.5 or higher.

What each source reports

GitHub AdvisoriesNo score

Regular Expression Denial of Service in underscore.string

Versions of underscore.string prior to 3.3.5 are vulnerable to Regular Expression Denial of Service (ReDoS).

The function unescapeHTML is vulnerable to ReDoS due to an overly-broad regex. The slowdown is approximately 2s for 50,000 characters but grows exponentially with larger inputs.

Recommendation

Upgrade to version 3.3.5 or higher.

Record
GHSA-v2p6-4mp7-3r9v
Weakness
CWE-400
Updated
2026-11-02
OSVCLSA-2026-1775003174No score

TuxCare security update for underscore.string (1 CVE)

TuxCare rebuilt underscore.string to address 1 CVE. Fixed in 2.3.3-tuxcare.1.

Record
CLSA-2026-1775003174
Updated
2026-11-02
OSVCLSA-2026-1775003175No score

TuxCare security update for underscore.string (1 CVE)

TuxCare rebuilt underscore.string to address 1 CVE. Fixed in 2.2.1-tuxcare.1.

Record
CLSA-2026-1775003175
Updated
2026-11-02
OSVNo score

Regular Expression Denial of Service in underscore.string

Versions of underscore.string prior to 3.3.5 are vulnerable to Regular Expression Denial of Service (ReDoS).

The function unescapeHTML is vulnerable to ReDoS due to an overly-broad regex. The slowdown is approximately 2s for 50,000 characters but grows exponentially with larger inputs.

Recommendation

Upgrade to version 3.3.5 or higher.

Record
GHSA-v2p6-4mp7-3r9v
Weakness
CWE-400
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
underscore.string
npm
before 3.3.5
3.3.5
underscore.string
TuxCare:npm
2.3.3-tuxcare.0 up to 2.3.3-tuxcare.1, plus listed versions
2.3.3
2.3.3-tuxcare.1
underscore.string
TuxCare:npm
2.2.1-tuxcare.0 up to 2.2.1-tuxcare.1, plus listed versions
2.2.1
2.2.1-tuxcare.1

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

GHSA-v2p6-4mp7-3r9v is a vulnerability with no CVSS score yet in underscore.string, published June 14, 2019. No source lists public exploit code. Fixed in underscore.string 3.3.5.

References

MoveEnter Open