Description
URI.js (aka urijs) before 1.19.6 mishandles certain uses of backslash such as http:\/ and interprets the URI as a relative path.
Remediation
References
https://advisory.checkmarx.net/advisory/CX-2021-4305
https://github.com/medialize/URI.js/commit/a1ad8bcbc39a4d136d7e252e76e957f3ece70839
https://github.com/medialize/URI.js/releases/tag/v1.19.6
Related Vulnerabilities
CVE-2018-16473 Vulnerability in npm package takeapeek
CVE-2022-24375 Vulnerability in npm package node-opcua
CVE-2021-23411 Vulnerability in npm package anchorme
CVE-2023-45857 Vulnerability in maven package org.webjars.npm:axios
CVE-2022-0272 Vulnerability in maven package io.gitlab.arturbosch.detekt:detekt-core