CVE-2023-25765 in Jenkins Email Extension
In Jenkins Email Extension Plugin 2.93 and earlier, templates defined inside a folder were not subject to Script Security protection, allowing attackers able to define email templates in folders to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Jenkins | Email Extension | < 2.93.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In Jenkins Email Extension Plugin 2.93 and earlier, templates defined inside a folder were not subject to Script Security protection, allowing attackers able to define email templates in folders to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-25765 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-347884-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| Published | 2023-02-15 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-693: CWE-693
Related attack patterns (CAPEC)
CAPEC-51 Poison Web Service Registry via CWE-693
CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data via CWE-693
CAPEC-59 Session Credential Falsification through Prediction via CWE-693
CAPEC-65 Sniff Application Code via CWE-693
CAPEC-107 Cross Site Tracing via CWE-693
Show all 17
CAPEC-127 Directory Indexing via CWE-693
CAPEC-237 Escaping a Sandbox by Calling Code in Another Language via CWE-693
CAPEC-477 Signature Spoofing by Mixing Signed and Unsigned Content via CWE-693
CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-693
CAPEC-17 Using Malicious Files via CWE-693
CAPEC-20 Encryption Brute Forcing via CWE-693
CAPEC-36 Using Unpublished Interfaces or Functionality via CWE-693
CAPEC-87 Forceful Browsing via CWE-693
CAPEC-480 Escaping Virtualization via CWE-693
CAPEC-668 Key Negotiation of Bluetooth Attack (KNOB) via CWE-693
CAPEC-22 Exploiting Trust in Client via CWE-693
CAPEC-74 Manipulating State via CWE-693
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A critical vulnerability in Jenkins Email Extension Plugin versions 2.93 and earlier allows attackers to bypass Script Security protection by defining email templates in folders, enabling the execution of arbitrary code in the Jenkins controller JVM context.
Attackers can exploit this vulnerability by creating or modifying email templates within a folder in Jenkins. These templates can contain malicious scripts that are executed when the email is sent, bypassing the usual Script Security restrictions.
Questions
What is CVE-2023-25765?
A critical vulnerability in Jenkins Email Extension Plugin versions 2.93 and earlier allows attackers to bypass Script Security protection by defining email templates in folders, enabling the execution of arbitrary code in the Jenkins controller JVM context.
What is the CVSS score for CVE-2023-25765?
CVE-2023-25765 has CVSS 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H. EPSS: 1.3%.
Is CVE-2023-25765 actively exploited?
No confirmed active exploitation of CVE-2023-25765 as of 2026-09-25.
How do I remediate CVE-2023-25765?
Priority: IMMEDIATE. Advisory: https://www.jenkins.io/security/advisory/2023-02-15/#SECURITY-2939 PSIRT: [email protected]
What systems are affected by CVE-2023-25765?
CVE-2023-25765 affects Jenkins Email Extension.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Jenkins","product":"Email Extension","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.