CVE-2021-21700 Stored XSS vulnerability in Jenkins Scriptler Plugin
Attackers with script creation privileges can execute arbitrary JavaScript in other users' browsers via stored XSS in the Jenkins Scriptler 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-2021-21700?
CVE-2021-21700 is a medium-severity cross-site scripting vulnerability in Jenkins Scriptler Plugin, published on 12 Nov 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Jenkins Scriptler Plugin 3.3 and earlier does not escape the name of scripts on the UI when asking to confirm their deletion, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by exploitable by attackers able to create Scriptler scripts.
Weakness: CWE-79
Which versions are affected by CVE-2021-21700?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:scriptler. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:scriptler Maven | All versions | 3.4 |
org.jenkins-ci.plugins:scriptler Maven | All versions | 3.4 |
Products include Jenkins Scriptler.
How do I fix CVE-2021-21700?
Upgrade org.jenkins-ci.plugins:scriptler to 3.4 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-2021-21700 being exploited?
There is no known exploitation of CVE-2021-21700 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Scriptler Plugin
Sources
Also known as GHSA-f9gf-2q87-5m44.