# CVE-2018-3730: Path Traversal in mcstatic

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.99%, higher than 81% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2018-06-07T02:00:00.000Z
- Modified: 2026-06-17T01:57:44.277Z
- Also known as: GHSA-3r8f-gphx-9m2c
- Weaknesses: CWE-22
- Assigned by: hackerone

## Description

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.

(As written by CVE List.)

## Affected

- HackerOne mcstatic node module: All versions
- mcstatic (npm): up to 0.0.20
- mcstatic_project mcstatic: 0.0.20

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://hackerone.com/reports/312907> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2018-3730> (advisory)
- <https://github.com/advisories/GHSA-3r8f-gphx-9m2c> (advisory)
- <https://www.npmjs.com/advisories/641> (web)

## Sources

- CVE List: [CVE-2018-3730](https://www.cve.org/CVERecord?id=CVE-2018-3730), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-3r8f-gphx-9m2c](https://github.com/advisories/GHSA-3r8f-gphx-9m2c), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2018-3730](https://nvd.nist.gov/vuln/detail/CVE-2018-3730), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2018-3730 · Whole record: https://cve.day/CVE-2018-3730.json · Rebuilt by cve.day 2026-11-25T22:57:38.148Z
