Description
mockserve is a file server. mockserve 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/blob/master/directory-traversal/mockserve
https://nodesecurity.io/advisories/445
Related Vulnerabilities
CVE-2021-32854 Vulnerability in maven package org.webjars:textangular
CVE-2023-26126 Vulnerability in npm package m.static
CVE-2018-1000632 Vulnerability in maven package org.dom4j:dom4j
CVE-2023-25345 Vulnerability in npm package swig-templates
CVE-2022-26612 Vulnerability in maven package org.apache.hadoop:hadoop-common