What’s Vulnerable › Vulnerabilities

CVE-2021-3377

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.

Affected products

How to fix

Upgrade to a fixed version: Ansi Up Project Ansi Up 5.0.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-3377 or the next vulnerability affects your stack