CVE-2022-30960 Cross-site Scripting in Jenkins Application Detector Plugin
Stored XSS in Jenkins Application Detector 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-2022-30960?
CVE-2022-30960 is a medium-severity cross-site scripting vulnerability in Jenkins Application Detector Plugin, published on 17 May 2022. 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 Application Detector Plugin 1.0.8 and earlier does not escape the name of Chois Application Version parameters on views displaying parameters, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Item/Configure permission.
Weakness: CWE-79
Which versions are affected by CVE-2022-30960?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:app-detector. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:app-detector Maven | All versions | 1.0.9 |
org.jenkins-ci.plugins:app-detector Maven | All versions | 1.0.9 |
Products include Jenkins Application Detector.
How do I fix CVE-2022-30960?
Upgrade org.jenkins-ci.plugins:app-detector to 1.0.9 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-2022-30960 being exploited?
There is no known exploitation of CVE-2022-30960 in the wild and no public exploit code.
Sources
Also known as GHSA-6wh8-mr6f-6cx2.