{
  "id": "CVE-2025-31722",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-31722",
  "published_at": "2025-04-02T14:59:50.726Z",
  "vendor": "Jenkins Project",
  "product": "Jenkins Templating Engine Plugin",
  "cvss": {
    "score": 8.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-03-13T21:39:13Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 345.3,
    "repo": "h3raklez/CVE-2025-31722",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In Jenkins Templating Engine Plugin 2.5.3 and earlier, libraries defined in folders are not subject to sandbox protection, allowing attackers with Item/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM.",
  "cwe": "CWE-94",
  "cpes": [
    "cpe:2.3:a:jenkins:templating_engine:*:*:*:*:*:jenkins:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 8.8
  },
  "repos": [
    {
      "repo": "Nick6371/CVE-2025-31722",
      "url": "https://github.com/Nick6371/CVE-2025-31722",
      "created_at": "2025-08-08T17:35:19Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-10-27T03:36:24Z"
    },
    {
      "repo": "h3raklez/CVE-2025-31722",
      "url": "https://github.com/h3raklez/CVE-2025-31722",
      "created_at": "2026-03-13T21:39:13Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-09-19T20:29:17Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Jenkins Project",
        "product": "Jenkins Templating Engine Plugin",
        "ranges": [
          "\u003c= 2.5.3"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "org.jenkins-ci.plugins:templating-engine",
        "ranges": [
          "\u003c 2.5.4"
        ],
        "fixed_in": [
          "2.5.4"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-4vjp-327p-w4qv"
      }
    ],
    "upgrade": [
      "Upgrade org.jenkins-ci.plugins:templating-engine to 2.5.4 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://www.jenkins.io/security/advisory/2025-04-02/#SECURITY-3505"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
