CVE-2018-1000416 Jenkins Job Config History Plugin reflected XSS vulnerability
Reflected XSS in Jenkins Job Config History Plugin allows attackers to inject HTML, potentially leading to code execution or account takeover for users with configure access.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-1000416?
CVE-2018-1000416 is a medium-severity cross-site scripting vulnerability in n/a, published on 9 Jan 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A reflected cross-site scripting vulnerability exists in Jenkins Job Config History Plugin 2.18 and earlier in all Jelly files that shows arbitrary attacker-specified HTML in Jenkins to users with Job/Configure access.
Weakness: CWE-79
Which versions are affected by CVE-2018-1000416?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:jobConfigHistory. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:jobConfigHistory Maven | All versions | 2.18.1 |
org.jenkins-ci.plugins:jobConfigHistory Maven | All versions | 2.18.1 |
Products include Jobconfighistory Project Jobconfighistory.
How do I fix CVE-2018-1000416?
Upgrade org.jenkins-ci.plugins:jobConfigHistory to 2.18.1 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-2018-1000416 being exploited?
There is no known exploitation of CVE-2018-1000416 in the wild and no public exploit code.
Sources
Also known as GHSA-w3r4-vx9w-f7p7.