Live threats

All CVEs / Swig-templates Project

CVE-2023-25345Swig-templates Project Swig-templates

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.1%
probability of exploitation in 30 days · percentile 67
Auth required
No
Published
Mar 15, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Swig-templates.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm swig ≤ 1.4.2 no fixed version —
npm swig-templates ≤ 2.0.4 no fixed version —

Per OSV / GitHub Advisories (GHSA-2rq5-699j-x7p6). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
swig-templates_projectswig-templates≤ 2.0.4
swig_projectswig≤ 1.4.2

Official sources

References

Links published by the sources. Open them with care.