CVE-2018-1999029 Stored Cross-Site Scripting Vulnerability in Jenkins Shelve Project Plugin
Attackers with Job/Configure permission can inject JavaScript executed in other users' browsers via the Jenkins Shelve Project Plugin.
- 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-2018-1999029?
CVE-2018-1999029 is a medium-severity cross-site scripting vulnerability in n/a, published on 1 Aug 2018. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A cross-site scripting vulnerability exists in Jenkins Shelve Project Plugin 1.5 and earlier in ShelveProjectAction/index.jelly, ShelvedProjectsAction/index.jelly that allows attackers with Job/Configure permission to define JavaScript that would be executed in another user's browser when that other user performs some UI actions.
Weakness: CWE-79
Which versions are affected by CVE-2018-1999029?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:shelve-project-plugin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:shelve-project-plugin Maven | All versions | 2.0 |
org.jenkins-ci.plugins:shelve-project-plugin Maven | All versions | 2.0 |
Products include Jenkins Shelve Project.
How do I fix CVE-2018-1999029?
Upgrade org.jenkins-ci.plugins:shelve-project-plugin to 2.0 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-1999029 being exploited?
There is no known exploitation of CVE-2018-1999029 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-7577-f8fp-5977.