Description
This affects all versions of package marscode. There is no path sanitization in the path provided at fs.readFile in index.js.
References (1)
Core 1
Core References
Exploit, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JS-MARSCODE-590122
Scores
CVSS v3
7.5
EPSS
0.0174
EPSS Percentile
74.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Details
CWE
CWE-22
Status
published
Products (2)
indo-mars/marscode
npm/marscode
0npm
Published
Jul 25, 2020
Tracked Since
Feb 18, 2026