CVE-2018-8718: CSRF in Jenkins Mailer Plugin 1.20
- Vendor
- Jenkins
A cross-site request forgery (CSRF) vulnerability exists in the Mailer Plugin 1.20 for Jenkins 2.111. The vulnerability allows remote authenticated users to send unauthorized emails as any user by making a crafted request to /descriptorByName/hudson.tasks.Mailer/sendTestMail. The plugin does not properly validate CSRF tokens for this endpoint, enabling attackers to exploit authenticated sessions.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An attacker can exploit this vulnerability to send emails from Jenkins as arbitrary users, potentially leading to information disclosure, phishing, or abuse of trust relationships. This could be used to impersonate users or send malicious content to recipients, leveraging the Jenkins infrastructure.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the Jenkins instance to trusted users and networks. Disable or limit the use of the Mailer Plugin until it is patched. Monitor outgoing emails for suspicious activity.
Remediation
Patch, then assume compromise.
Upgrade the Mailer Plugin to a version where CSRF protection is properly implemented for the sendTestMail endpoint. Ensure that all endpoints enforce CSRF token validation.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2018-8718 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2018-8718 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2018-8718?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2018-8718.
- Is there a patch for CVE-2018-8718?
- Upgrade the Mailer Plugin to a version where CSRF protection is properly implemented for the sendTestMail endpoint. Ensure that all endpoints enforce CSRF token validation.
- What products are affected by CVE-2018-8718?
- Jenkins Mailer.
- How severe is CVE-2018-8718?
- CVE-2018-8718 has a CVSS v3 score of 8.0 (High) and an EPSS score of 6.5% (94th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.