{"schemaVersion":3,"id":"CVE-2025-59341","aliases":["GHSA-49pv-gwxp-532r","GO-2025-3962"],"status":"published","duplicateOf":null,"title":null,"description":"esm.sh is a nobuild content delivery network(CDN) for modern web development. In 136 and earlier, a Local File Inclusion (LFI) issue was identified in the esm.sh service URL handling. An attacker could craft a request that causes the server to read and return files from the host filesystem (or other unintended file sources).","dates":{"published":"2025-09-17T17:55:25.827Z","modified":"2025-09-17T18:09:50.796Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Go","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01636,"percentile":0.7597,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01636},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01636,"percentile":0.7597}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01636,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01636,"percentile":0.7597}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-23","name":"Relative Path Traversal","description":"The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as \"..\" that can resolve to a location that is outside of that directory.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/23.html"}],"affected":[{"vendor":"esm-dev","product":"esm.sh","name":"esm.sh","label":"esm.sh","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 136","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 136","eol":null,"hubHref":"/vendor/esm-dev/esmsh"},{"vendor":"github.com/esm-dev","product":"esm.sh","name":"github.com/esm-dev/esm.sh","label":"esm.sh","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/esm-dev/esm.sh","purlType":"golang","versions":[{"text":"≤ 136","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"≤ 136 | All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/esm-dev/esm.sh/security/advisories/GHSA-49pv-gwxp-532r","label":"github.com/esm-dev/esm.sh/security/advisories/GHSA-49pv-gwxp-532r","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory"]},{"url":"https://github.com/esm-dev/esm.sh/blob/c62f191d32639314ff0525d1c3c0e19ea2b16143/server/router.go#L1168","label":"github.com/esm-dev/esm.sh/blob/c62f191d32639314ff0525d1c3c0e19ea2b16143/server/router.go","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59341","label":"nvd.nist.gov/vuln/detail/CVE-2025-59341","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/esm-dev/esm.sh/commit/492de92850dd4d350c8b299af541f87541e58a45","label":"github.com/esm-dev/esm.sh/commit/492de92850dd4d350c8b299af541f87541e58a45","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/esm-dev/esm.sh","label":"github.com/esm-dev/esm.sh","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3962","label":"pkg.go.dev/vuln/GO-2025-3962","hostname":"pkg.go.dev","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:15576-1","OPENSUSE-SU-2026:21483-1","SUSE-SU-2025:3799-1"],"duplicates":[],"related":["OPENSUSE-SU-2025:15576-1","OPENSUSE-SU-2026:21483-1","SUSE-SU-2025:3799-1"]},"timeline":[{"kind":"published","date":"2025-09-17T17:55:25.827Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-09-17T18:09:50.796Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T21:04:59.059Z","stale":false,"partial":false}}