Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2023-25345

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-25345
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 05:38 UTC · Revision 1

Source evidence

CVE-2023-25345

core-osv · Original source

Published 15 Mar 2023, 00:00 UTC

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.

osv:CVE-2023-25345
Complete source record
{
  "id": "388eca4795eacb4037f95a798f25be598c1ea88b65855b22ad1b91e906a09efe",
  "url": "https://osv.dev/vulnerability/CVE-2023-25345",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2023-25345",
    "summary": "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.",
    "evidence": "osv:CVE-2023-25345",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2023-25345",
      "aliases": [
        "CVE-2023-25345",
        "GHSA-2rq5-699j-x7p6"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/node-swig/swig-templates",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "08109dcdd686b48365912046e796bc993479808f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:swig_project:swig:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.4.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.4.2",
            "v1.4.1",
            "v1.4.0",
            "v1.3.2",
            "v1.3.0",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.1.0",
            "v1.0.0",
            "v1.0.0-rc3",
            "v1.0.0-rc2",
            "v1.0.0-rc1",
            "v1.0.0-pre3",
            "v1.0.0-pre2",
            "v1.0.0-pre1",
            "v0.14.0",
            "v0.13.4",
            "v0.13.3",
            "v0.13.2",
            "v0.13.1",
            "v0.13.0",
            "v0.12.1",
            "v0.12.0",
            "v0.11.2",
            "v0.11.0",
            "v0.9.4",
            "v0.9.3",
            "v0.9.1",
            "v0.9.0",
            "v0.8.0",
            "v0.5.0",
            "v0.4.0",
            "v0.3.0",
            "v0.2.3",
            "v0.2.2",
            "v0.2.1",
            "v0.2.0",
            "v0.1.9",
            "v0.1.8",
            "v0.1.7",
            "v0.1.6",
            "v0.1.5",
            "v0.1.3",
            "v0.1.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-25345.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.350603271Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25345.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-25345",
        "https://github.com/node-swig/swig-templates/issues/88"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25345.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-25345",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492771,
  "published_at": "2023-03-15T00:00:00+00:00"
}