CVE-2021-21667 Stored XSS vulnerability in Jenkins Scriptler Plugin
Stored XSS in Jenkins Scriptler Plugin allows attackers with configure permissions to execute scripts in victim browsers.
- 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-21667?
CVE-2021-21667 is a medium-severity cross-site scripting vulnerability in Jenkins Scriptler Plugin, published on 16 Jun 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.2 and earlier does not escape parameter names shown in job configuration forms, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Scriptler/Configure permission.
Weakness: CWE-79
Which versions are affected by CVE-2021-21667?
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.3 |
org.jenkins-ci.plugins:scriptler Maven | All versions | 3.3 |
Products include Jenkins Scriptler.
How do I fix CVE-2021-21667?
Upgrade org.jenkins-ci.plugins:scriptler to 3.3 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-21667 being exploited?
There is no known exploitation of CVE-2021-21667 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Scriptler Plugin
Sources
Also known as GHSA-p479-rwhp-rwjx.