Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: CVE-2023-25344

An issue was discovered in swig-templates thru 2.0.4 and swig thru 1.4.2, allows attackers to execute arbitrary code via crafted Object.prototype anonymous function.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-25344
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 18:06 UTC · Revision 1

Source evidence

CVE-2023-25344

core-osv · Original source

Published 15 Mar 2023, 00:00 UTC

An issue was discovered in swig-templates thru 2.0.4 and swig thru 1.4.2, allows attackers to execute arbitrary code via crafted Object.prototype anonymous function.

osv:CVE-2023-25344
Complete source record
{
  "id": "f5f2cff0e7070ada6423b4f5ccfc8154c02195866df9b134ee3e83a45fa3e4cd",
  "url": "https://osv.dev/vulnerability/CVE-2023-25344",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2023-25344",
    "summary": "An issue was discovered in swig-templates thru 2.0.4 and swig thru 1.4.2, allows attackers to execute arbitrary code via crafted Object.prototype anonymous function.",
    "evidence": "osv:CVE-2023-25344",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-25344",
      "aliases": [
        "CVE-2023-25344"
      ],
      "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-25344.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:44.789235499Z",
      "provider": "osv",
      "references": [
        "https://www.gem-love.com/2023/02/01/Swig%E6%A8%A1%E6%9D%BF%E5%BC%95%E6%93%8E0day%E6%8C%96%E6%8E%98-%E4%BB%A3%E7%A0%81%E6%89%A7%E8%A1%8C%E5%92%8C%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25344.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-25344",
        "https://github.com/node-swig/swig-templates/issues/89"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25344.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-25344",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 512625,
  "published_at": "2023-03-15T00:00:00+00:00"
}