{"cve":"CVE-2023-25345","nvd":{"published":"2023-03-15T20:15:10.533","modified":"2026-06-17T05:41:06.723","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-22"],"references":["https://github.com/node-swig/swig-templates/issues/88","https://github.com/node-swig/swig-templates/issues/88"],"products":["swig-templates_project:swig-templates","swig_project:swig"],"source":"nvd","synced_at":"2026-10-19T21:37:41.955480748+00:00"},"epss":{"cve":"CVE-2023-25345","score":0.0105,"percentile":0.64285,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-2rq5-699j-x7p6","url":"https://osv.dev/vulnerability/GHSA-2rq5-699j-x7p6","summary":"Arbitrary local file read vulnerability during template rendering ","modified":"2023-11-08T04:11:51.619627Z","packages":[{"ecosystem":"npm","name":"swig-templates","purl":"pkg:npm/swig-templates","ranges":["<=2.0.4"],"fixed":[]},{"ecosystem":"npm","name":"swig","purl":"pkg:npm/swig","ranges":["<=1.4.2"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}