CVE-2023-25764 Cross-site Scripting in Jenkins Email Extension Plugin
Attackers with template creation privileges can inject malicious scripts into email templates, leading to stored XSS attacks against Jenkins users.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-25764?
CVE-2023-25764 is a medium-severity cross-site scripting vulnerability in Jenkins Email Extension Plugin, published on 15 Feb 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Jenkins Email Extension Plugin 2.93 and earlier does not escape, sanitize, or sandbox rendered email template output or log output generated during template rendering, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to create or change custom email templates.
Weakness: CWE-79
Which versions are affected by CVE-2023-25764?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:email-ext. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:email-ext Maven | All versions | 2.94 |
org.jenkins-ci.plugins:email-ext Maven | All versions | 2.94 |
Products include Jenkins Email Extension.
How do I fix CVE-2023-25764?
Upgrade org.jenkins-ci.plugins:email-ext to 2.94 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2023-25764 being exploited?
There is no known exploitation of CVE-2023-25764 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Email Extension Plugin
- CVE-2023-25765 Sandbox escape in Jenkins Email Extension Plugin
- CVE-2019-1003032 Script security sandbox bypass in Jenkins Email Extension Plugin
- CVE-2026-48920 Jenkins Email Extension Plugin: Attackers able to control email content may specify `file:` URLs for images to read arbitrary files from Jenkins controller filesystem
- CVE-2020-2232 Jenkins Email Extension Plugin SMTP password transmitted and displayed in plain text
- CVE-2018-1000176 Jenkins Email Extension Plugin showed plain text SMTP password in configuration form field
Sources
Also known as GHSA-p2fr-mq9m-6w6p.