CVE-2023-25345
JSON

7.5high

Arbitrary local file read vulnerability during template rendering

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.05% (higher than 65% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-2rq5-699j-x7p6

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
swig-templates (npm)up to 2.0.4GitHub Advisory Database
swig (npm)up to 1.4.2GitHub Advisory Database
swig-templates_project swig-templatesup to 2.0.4NVD
swig_project swigup to 1.4.2NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-25345 changed 2025-02-27CVE Terms of Use
GitHub Advisory DatabaseGHSA-2rq5-699j-x7p6 changed 2023-11-08CC-BY-4.0
NVDCVE-2023-25345 changed 2026-06-17Public domain