CVE-2022-34182 Reflected Cross-site Scripting in Jenkins Nested View Plugin
Attackers can execute arbitrary scripts in victim browsers via unescaped search parameters in the Jenkins Nested View Plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-34182?
CVE-2022-34182 is a medium-severity cross-site scripting vulnerability in Jenkins Nested View Plugin, published on 22 Jun 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Jenkins Nested View Plugin 1.20 through 1.25 (both inclusive) does not escape search parameters, resulting in a reflected cross-site scripting (XSS) vulnerability.
Weakness: CWE-79
Which versions are affected by CVE-2022-34182?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:nested-view. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:nested-view Maven | From 1.20 | 1.26 |
org.jenkins-ci.plugins:nested-view Maven | From 1.20 | 1.26 |
Products include Jenkins Nested View.
How do I fix CVE-2022-34182?
Upgrade org.jenkins-ci.plugins:nested-view to 1.26 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-34182 being exploited?
There is no known exploitation of CVE-2022-34182 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Nested View Plugin
Sources
Also known as GHSA-h642-5h74-3x9c.