{"id":"CVE-2018-3730","aliases":["CVE-2018-3730","GHSA-3r8f-gphx-9m2c"],"related":[],"kind":"vulnerability","state":"published","title":"Path Traversal in mcstatic","summary":"mcstatic node module suffers from a Path Traversal vulnerability due to lack of validation of filePath, which allows a malicious user to read content of any file with known path.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"mcstatic node module suffers from a Path Traversal vulnerability due to lack of validation of filePath, which allows a malicious user to read content of any file with known path.","source":"cvelist"},{"lang":"en","text":"All versions of `mcstatic` are vulnerable to path traversal.\n\n\n## Recommendation\n\nNo fix is currently available for this vulnerability. It is our recommendation to not install or use this module at this time.","format":"markdown","source":"ghsa"},{"lang":"es","text":"El módulo de node mcstatic sufre de una vulnerabilidad de salto de directorio debido a la falta de validación de filePath, que permite que un usuario malicioso lea contenido de cualquier archivo con una ruta conocida.","source":"nvd"}],"published":"2018-06-07T02:00:00.000Z","modified":"2026-06-17T01:57:44.277Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"All versions","status":"affected"}],"vendor":"HackerOne","product":"mcstatic node module","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.0.20"}],"ecosystem":"npm","package":"mcstatic","purl":"pkg:npm/mcstatic","source":"ghsa"},{"ranges":[{"status":"affected","version":"0.0.20"}],"vendor":"mcstatic_project","product":"mcstatic","cpe":"cpe:2.3:a:mcstatic_project:mcstatic:0.0.20:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://hackerone.com/reports/312907","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3730","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-3r8f-gphx-9m2c","tags":["advisory"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/641","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"hackerone","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2018-3730","url":"https://www.cve.org/CVERecord?id=CVE-2018-3730","licence":"CVE Terms of Use","modified":"2024-09-17T00:56:12.788Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3r8f-gphx-9m2c","url":"https://github.com/advisories/GHSA-3r8f-gphx-9m2c","licence":"CC-BY-4.0","modified":"2023-11-08T04:00:17.731Z"},{"source":"nvd","name":"NVD","id":"CVE-2018-3730","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3730","licence":"Public domain","modified":"2026-06-17T01:57:44.277Z"}],"updatedAt":"2026-11-25T22:57:38.148Z","epss":{"score":0.01993,"percentile":0.81272,"date":"2026-12-01T12:00:22.000Z"}}