{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-25345","id":"CVE-2023-25345","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.","descriptionLong":"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.","published":"2023-03-15T00:00:00.000Z","updated":"2026-10-28T02:30:26.350603271Z","reserved":"2023-02-06T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"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","rating":"high","source":"NVD"},"metrics":[{"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","rating":"high","source":"NVD"},{"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","rating":"high","source":"CISA-ADP"},{"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","rating":"high","source":"OSV"},{"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","rating":"high","source":"GitHub"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"swig-templates","purl":"pkg:npm/swig-templates","ranges":["<=2.0.4"],"fixed":[],"advisory":"GHSA-2rq5-699j-x7p6"},{"ecosystem":"npm","name":"swig","purl":"pkg:npm/swig","ranges":["<=1.4.2"],"fixed":[],"advisory":"GHSA-2rq5-699j-x7p6"}],"cwes":["CWE-22"],"aliases":["GHSA-2rq5-699j-x7p6"],"references":[{"url":"https://github.com/node-swig/swig-templates/issues/88","tags":["x_transferred","Exploit","Issue Tracking","report","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25345.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25345","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.0105,"epssPercentile":0.64969,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-25345","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25345","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-25345","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2rq5-699j-x7p6","ok":true,"note":"GHSA-2rq5-699j-x7p6"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-25345","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}