Intel

AIKIDO-2025-10154

detox is vulnerable to Regular Expression Denial of Service (ReDoS)

Regular Expression Denial of Service (ReDoS)CVE-2024-21538 Published Mar 13, 2025

71

High Risk

This Affects:

jsdetox
1.0.0 - 20.34.4
Fixed in 20.34.5
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable due to the use of a compromised dependency, as described in CVE-2024-21538. The issue arises from child-process-promise, which relies on an insecure version of cross-spawn. This has been addressed by migrating from the unmaintained child-process-promise to promisify-child-process, eliminating the transitive vulnerability in cross-spawn.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

detox is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 1.0.0 - 20.34.4.

How to fix this

Upgrade the detox library to the patch version.