MEDIUM5.4
GHSA-p2fr-mq9m-6w6p
Cross-site Scripting in Jenkins Email Extension Plugin
Quick fix
GHSA-p2fr-mq9m-6w6p — org.jenkins-ci.plugins:email-ext: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.94</version> for org.jenkins-ci.plugins:email-extDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.jenkins-ci.plugins:email-ext
Introduced in:
0Fixed in: 2.94Fix
# pom.xml: bump <version>2.94</version> for org.jenkins-ci.plugins:email-extReferences
- https://nvd.nist.gov/vuln/detail/CVE-2023-25764[ADVISORY]
- https://github.com/jenkinsci/email-ext-plugin/commit/7b2bd251aa0193d009d85b713362d965dab262d0[WEB]
- https://github.com/jenkinsci/email-ext-plugin[PACKAGE]
- https://www.jenkins.io/security/advisory/2023-02-15/#SECURITY-2934[WEB]
- http://www.openwall.com/lists/oss-security/2023/02/15/4[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/org.jenkins-ci.plugins/email-ext"]}'