This affects all versions of package ansi-html. If an attacker provides a malicious string, it will get stuck processing the input for an extremely long time.
https://snyk.io/vuln/SNYK-JS-ANSIHTML-1296849
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567198
https://github.com/Tjatse/ansi-html/issues/19
Source: Mitre, NVD
Published: 2021-08-18
Updated: 2026-06-17
Base Score: 5
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P
Severity: Medium
Base Score: 7.5
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Severity: High
EPSS: 0.00149