Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. swig-templates
  4. ›
  5. CVE-2023-25345

CVE-2023-25345: Arbitrary local file read vulnerability during template rendering

March 15, 2023 (updated March 16, 2023)

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.

References

  • github.com/advisories/GHSA-2rq5-699j-x7p6
  • github.com/node-swig/swig-templates/issues/88
  • nvd.nist.gov/vuln/detail/CVE-2023-25345

Code Behaviors & Features

Detect and mitigate CVE-2023-25345 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.0.4

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Source file

npm/swig-templates/CVE-2023-25345.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:48 +0000.