npm package
ansi-regex
pkg:npm/ansi-regex
Malware
1 malicious version on record
One or more versions of this package have been flagged as containing malicious code. Audit any system that installed an affected version.
- MAL-2025-46966Malicious code in ansi-regex (npm)Sep 8, 2025
Vulnerabilities (1)
| CVE | Sev | CVSS | KEV | Affected versions | Fixed in | Published | Description |
|---|---|---|---|---|---|---|---|
| CVE-2021-3807 | — | >= 6.0.0, < 6.0.1 | 6.0.1 | Sep 17, 2021 | ansi-regex is vulnerable to Inefficient Regular Expression Complexity |
- CVE-2021-3807Sep 17, 2021affected >= 6.0.0, < 6.0.1fixed 6.0.1
ansi-regex is vulnerable to Inefficient Regular Expression Complexity