{"id":"CVE-2023-25345","aliases":["EUVD-2023-0832","GHSA-2rq5-699j-x7p6"],"status":"published","title":"Arbitrary local file read vulnerability during template rendering","description":"Directory traversal vulnerability in swig-templates thru 2.0.4 and swig thru 1.4.2, allows attackers to read arbitrary files via the include or extends tags.","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","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.0105,"percentile":0.64554,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2023-03-15T00:00:00Z","modified":"2026-10-28T02:30:26Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"swig-templates","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.0.4"}]}]},{"source":"ghsa","ecosystem":"npm","package":"swig","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.4.2"}]}]},{"source":"osv","ecosystem":"npm","package":"swig-templates","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.0.4"}]}]},{"source":"osv","ecosystem":"npm","package":"swig","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.4.2"}]}]}],"products":[{"vendor":"swig-templates_project","product":"swig-templates"},{"vendor":"swig_project","product":"swig"}],"references":[{"url":"https://github.com/node-swig/swig-templates/issues/88","tags":["x_transferred","Exploit","Issue Tracking","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25345","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-2rq5-699j-x7p6"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25345.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2023-25345","description":"Directory traversal vulnerability in swig-templates thru 2.0.4 and swig thru 1.4.2, allows attackers to read arbitrary files via the include or extends tags.","status":"published","published":"2023-03-15T00:00:00Z","modified":"2025-02-27T18:28:56.823Z","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":"adp"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:35:19.559321Z"}],"euvd":[{"id":"EUVD-2023-0832","description":"Directory traversal vulnerability in swig-templates thru 2.0.4 and swig thru 1.4.2, allows attackers to read arbitrary files via the include or extends tags.","status":"published","published":"2023-03-15T00:00:00Z","modified":"2025-02-27T18:28:56Z","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"}],"updated_at":"2026-11-02T20:53:21.911964Z"}],"ghsa":[{"id":"GHSA-2rq5-699j-x7p6","title":"Arbitrary local file read vulnerability during template rendering ","description":"Directory traversal vulnerability in swig-templates thru 2.0.4 and swig thru 1.4.2, allows attackers to read arbitrary files via the include or extends tags.","status":"published","published":"2023-03-15T21:30:25Z","modified":"2023-03-20T13:59:52Z","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:36:48.041653Z"}],"nvd":[{"id":"CVE-2023-25345","description":"Directory traversal vulnerability in swig-templates thru 2.0.4 and swig thru 1.4.2, allows attackers to read arbitrary files via the include or extends tags.","status":"published","published":"2023-03-15T20:15:10.533Z","modified":"2026-06-17T05:41:06.723Z","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":"primary"},{"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"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:07:49.031498Z"}],"osv":[{"id":"CVE-2023-25345","description":"Directory traversal vulnerability in swig-templates thru 2.0.4 and swig thru 1.4.2, allows attackers to read arbitrary files via the include or extends tags.","status":"published","published":"2023-03-15T00:00:00Z","modified":"2026-10-28T02:30:26.350603271Z","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"}],"updated_at":"2026-11-02T15:44:30.709518Z"},{"id":"GHSA-2rq5-699j-x7p6","title":"Arbitrary local file read vulnerability during template rendering ","description":"Directory traversal vulnerability in swig-templates thru 2.0.4 and swig thru 1.4.2, allows attackers to read arbitrary files via the include or extends tags.","status":"published","published":"2023-03-15T21:30:25Z","modified":"2023-11-08T04:11:51.619627Z","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:34.700741Z"}]}}
