CVE-2018-1000426 Stored XSS vulnerability in Jenkins Git Changelog Plugin
Attackers controlling Git history can inject arbitrary HTML into Jenkins pages via the Git Changelog Plugin, potentially executing scripts in user sessions.
- 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-1000426?
CVE-2018-1000426 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 cross-site scripting vulnerability exists in Jenkins Git Changelog Plugin 2.6 and earlier in GitChangelogSummaryDecorator/summary.jelly, GitChangelogLeftsideBuildDecorator/badge.jelly, GitLogJiraFilterPostPublisher/config.jelly, GitLogBasicChangelogPostPublisher/config.jelly that allows attackers able to control the Git history parsed by the plugin to have Jenkins render arbitrary HTML on some pages.
Weakness: CWE-79
Which versions are affected by CVE-2018-1000426?
2 open source packages ship an affected version, including de.wellnerbou.jenkins:git-changelog. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
de.wellnerbou.jenkins:git-changelog Maven | All versions | 2.7 |
de.wellnerbou.jenkins:git-changelog Maven | All versions | 2.7 |
Products include Jenkins Git Changelog.
How do I fix CVE-2018-1000426?
Upgrade de.wellnerbou.jenkins:git-changelog to 2.7 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-1000426 being exploited?
There is no known exploitation of CVE-2018-1000426 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-jcmg-9rw5-9rm2.