{"id":"GHSA-2rq5-699j-x7p6","summary":"Arbitrary local file read vulnerability during template rendering ","details":"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.","aliases":["CVE-2023-25345"],"modified":"2023-11-08T04:11:51.619627Z","published":"2023-03-15T21:30:25Z","database_specific":{"nvd_published_at":"2023-03-15T20:15:00Z","cwe_ids":["CWE-22"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2023-03-16T13:27:03Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25345"},{"type":"WEB","url":"https://github.com/node-swig/swig-templates/issues/88"}],"affected":[{"package":{"name":"swig-templates","ecosystem":"npm","purl":"pkg:npm/swig-templates"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.0.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-2rq5-699j-x7p6/GHSA-2rq5-699j-x7p6.json"}},{"package":{"name":"swig","ecosystem":"npm","purl":"pkg:npm/swig"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.4.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-2rq5-699j-x7p6/GHSA-2rq5-699j-x7p6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}