Vulnerabilities/

ansi_up cross-site scripting vulnerability

Severity:
Medium

Description

The npm package ansi_up converts ANSI escape codes into HTML. In ansi_up v4, ANSI escape codes can be used to create HTML hyperlinks. Due to insufficient URL sanitization, this feature is affected by a cross-site scripting (XSS) vulnerability. This issue is fixed in v5.0.0.

Recommendation

Update the ansi_up package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
ansi_up
Anything's wrong? Let us know Last updated on November 04, 2025