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.
Remediation
References
https://doyensec.com/resources/Doyensec_Advisory_ansi_up4_XSS.pdf
https://github.com/drudru/ansi_up/commit/c8c726ed1db979bae4f257b7fa41775155ba2e27
https://security.netapp.com/advisory/ntap-20241108-0002/
Related Vulnerabilities
CVE-2020-7238 Vulnerability in maven package io.netty:netty-all
CVE-2023-32315 Vulnerability in maven package org.igniterealtime.openfire:xmppserver
CVE-2023-37913 Vulnerability in maven package org.xwiki.platform:xwiki-platform-office-importer
CVE-2020-23622 Vulnerability in maven package org.fourthline.cling:cling-core