{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.5.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "bb2b4468b3bf4cea494afb8549af4e6450972653"
            }
          ],
          "repo": "https://github.com/jenkinsci/templating-engine-plugin",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "CVE-2025-31722",
  "modified": "2026-03-10T21:52:35.756011437Z",
  "published": "2025-04-02T15:15:59.680Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.jenkins.io/security/advisory/2025-04-02/#SECURITY-3505"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}