SecurityContext

CVE-2023-25345: swig - Path Traversal

  • Cve: CVE-2023-25345
  • Name: swig - Path Traversal
  • 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.
  • Impact: Attackers can read arbitrary files from the server, potentially exposing sensitive information.
  • Remediation: Update to the latest version of swig or swig-templates that addresses this issue.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.0105
  • Epss percentile: 0.64951
  • Assignee: [email protected]
  • Published at: 2023-03-15T20:15:10Z
  • Age in days: 1350
  • Modified at: 2026-06-17T05:41:06Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-25345
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Public exploits

UrlSourceAdded date
https://github.com/node-swig/swig-templates/issues/88nvd2023-03-15

References

UrlSourceTags
https://github.com/node-swig/swig-templates/issues/88nvdExploit, Issue Tracking

Products

ProductAffectedPlatform boundSourcesUrl
swig-templates_project:swig-templates<= 2.0.4nonvd/v1/products/swig-templates_project/swig-templates
swig_project:swig<= 1.4.2nonvd/v1/products/swig_project/swig

Projects

RepositoryLink kindsIndexedUrl
node-swig/swig-templatesissuesyes/v1/repositories/node-swig/swig-templates

Index

  • Repositories: 6
  • Repositories high signal: 1
  • Packages: 2

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2023-03-15
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts