Description
`badjs-sourcemap-server` receives files sent by `badjs-sourcemap`. `badjs-sourcemap-server` is vulnerable to a directory traversal issue, giving an attacker access to the filesystem by placing "../" in the url.
Remediation
References
https://github.com/JacksonGL/NPM-Vuln-PoC/tree/master/directory-traversal/badjs-sourcemap-server
https://nodesecurity.io/advisories/349
Related Vulnerabilities
CVE-2020-7672 Vulnerability in npm package mosc
CVE-2021-35516 Vulnerability in maven package org.apache.commons:commons-compress
CVE-2022-31160 Vulnerability in maven package org.webjars.bower:jquery-ui
CVE-2021-4279 Vulnerability in maven package org.webjars.npm:fast-json-patch
CVE-2021-40111 Vulnerability in maven package org.apache.james:james-server