~ / search / GHSA-2v5f-23xc-v9qr

GHSA-2v5f-23xc-v9qr

ansi_up cross-site scripting vulnerability

Source: GitHub Advisory Database (reviewed) Moderate CVE-2021-3377

Packages

EcosystemPackageAffectedFixed in
npm ansi_up < 5.0.0 5.0.0

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.