Vulnerability library
Security checkFebruary 12, 2025

Uncontrolled Resource Consumption in ansi-html

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmansi-html

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the ansi-html package to the latest compatible version. Followings are version details:

  • Affected version(s): < 0.0.8
  • Patched version(s): 0.0.8

References

Could your website be exposed too?

SmartScanner can check your website for Uncontrolled Resource Consumption in ansi-html and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated February 12, 2025