CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021

CVE-2021-3377
Ansi Up Project Ansi Up vulnerability

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

Ansi Up. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Ansi Up Project Ansi Up runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.