CVE-2019-1003042 Jenkins Lockable Resources Plugin XSS vulnerability
Attackers controlling resource names can inject arbitrary JavaScript into Jenkins web pages via the Lockable Resources 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-2019-1003042?
CVE-2019-1003042 is a medium-severity cross-site scripting vulnerability in Jenkins Lockable Resources Plugin, published on 28 Mar 2019. 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 in Jenkins Lockable Resources Plugin 2.4 and earlier allows attackers able to control resource names to inject arbitrary JavaScript in web pages rendered by the plugin.
Weakness: CWE-79
Which versions are affected by CVE-2019-1003042?
2 open source packages ship an affected version, including org.6wind.jenkins:lockable-resources. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.6wind.jenkins:lockable-resources Maven | All versions | 2.5 |
org.6wind.jenkins:lockable-resources Maven | All versions | 2.5 |
Products include Jenkins Lockable Resources.
How do I fix CVE-2019-1003042?
Upgrade org.6wind.jenkins:lockable-resources to 2.5 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-2019-1003042 being exploited?
There is no known exploitation of CVE-2019-1003042 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Lockable Resources Plugin
Sources
Also known as GHSA-wqjj-c9cx-q7cf.