Security mailing lists by PureSourceCode

CVE-2023-25345

HIGH 7.5CVSS 3.1

Arbitrary local file read vulnerability during template rendering

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
15 Mar 2023
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-22
Also known as
GHSA-2rq5-699j-x7p6
Sources
NVDJSONOSV GHSA-2rq5-699j-x7p6JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD swig-templates_project swig-templates
cpe:2.3:a:swig-templates_project:swig-templates:*:*:*:*:*:*:*:*
<= 2.0.4
NVD swig_project swig
cpe:2.3:a:swig_project:swig:*:*:*:*:*:*:*:*
<= 1.4.2
OSV npm swig-templates <= 2.0.4
OSV npm swig <= 1.4.2

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 15 Mar 2023)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 15 Mar 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.