CVE-2021-3377 Information

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.

CVSS Vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Reference

https://github.com/drudru/ansi_up/commit/c8c726ed1db979bae4f257b7fa41775155ba2e27 https://doyensec.com/resources/Doyensec_Advisory_ansi_up4_XSS.pdf

Attack Complexity

LOW

Privileges Required

NONE

User Interaction Required

NONE

Scope

REQUIRED

Confidentiality Impact

CHANGED

Integrity Impact

LOW

Availability Impact

LOW

Base Score

NONE

Base Severity

6.1

Share on: