{"id":"CVE-2020-7686","aliases":["EUVD-2020-0573","GHSA-vr98-27qj-3c8q"],"status":"published","title":"Directory Traversal","description":"This affects all versions of package rollup-plugin-dev-server. There is no path sanitization in readFile operation inside the readFileFromContentBase function.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01768,"percentile":0.78289,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2020-07-25T08:40:12Z","modified":"2026-06-17T03:25:15Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"rollup-plugin-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.7.0"}]}]},{"source":"osv","ecosystem":"npm","package":"rollup-plugin-server","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.7.0"}]}]}],"products":[{"vendor":"rollup-plugin-dev-server_project","product":"rollup-plugin-dev-server"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-ROLLUPPLUGINDEVSERVER-590124","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7686","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-vr98-27qj-3c8q"}],"sources":{"cve":[{"id":"CVE-2020-7686","title":"Directory Traversal","description":"This affects all versions of package rollup-plugin-dev-server. There is no path sanitization in readFile operation inside the readFileFromContentBase function.","status":"published","published":"2020-07-25T08:40:12.726Z","modified":"2024-09-16T18:24:05.187Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:35:58.787905Z"}],"euvd":[{"id":"EUVD-2020-0573","description":"This affects all versions of package rollup-plugin-dev-server. There is no path sanitization in readFile operation inside the readFileFromContentBase function.","status":"published","published":"2020-07-25T08:40:12Z","modified":"2024-09-16T18:24:05Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","level":"high"}],"updated_at":"2026-11-03T00:55:32.945265Z"}],"ghsa":[{"id":"GHSA-vr98-27qj-3c8q","title":"Directory traversal in rollup-plugin-server","description":"This affects all versions of package rollup-plugin-dev-server. There is no path sanitization in `readFile` operation inside the `readFileFromContentBase` function.","status":"published","published":"2020-07-29T18:07:35Z","modified":"2023-09-05T23:31:53Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:37:02.632342Z"}],"nvd":[{"id":"CVE-2020-7686","description":"This affects all versions of package rollup-plugin-dev-server. There is no path sanitization in readFile operation inside the readFileFromContentBase function.","status":"published","published":"2020-07-25T09:15:12.027Z","modified":"2026-06-17T03:25:15.83Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:06:10.086163Z"}],"osv":[{"id":"GHSA-vr98-27qj-3c8q","title":"Directory traversal in rollup-plugin-server","description":"This affects all versions of package rollup-plugin-dev-server. There is no path sanitization in `readFile` operation inside the `readFileFromContentBase` function.","status":"published","published":"2020-07-29T18:07:35Z","modified":"2023-11-08T04:04:04.766994Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:57.694388Z"}]}}
