CVE-2022-34787 Jenkins Project Inheritance Plugin vulnerable to cross site scripting
Attackers can inject malicious scripts into Jenkins build block reason tooltips, potentially compromising user sessions.
- 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
- None listed
What is CVE-2022-34787?
CVE-2022-34787 is a medium-severity cross-site scripting vulnerability in Jenkins Project Inheritance Plugin, published on 30 Jun 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 Project Inheritance Plugin 21.04.03 and earlier does not escape the reason a build is blocked in tooltips, resulting in a cross-site scripting (XSS) vulnerability exploitable by attackers able to control the reason a queue item is blocked.
Weakness: CWE-79
Which versions are affected by CVE-2022-34787?
2 open source packages ship an affected version, including hudson.plugins:project-inheritance. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
hudson.plugins:project-inheritance Maven | All versions to 21.04.03 | None |
hudson.plugins:project-inheritance Maven | All versions to 21.04.03 | None |
Products include Jenkins Project Inheritance.
How do I fix CVE-2022-34787?
No fix has been published for CVE-2022-34787 yet. Limit exposure of the affected software until one is available.
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-34787 being exploited?
There is no known exploitation of CVE-2022-34787 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Project Inheritance Plugin
- CVE-2020-2198 Missing permission check in Jenkins Project Inheritance Plugin
- CVE-2019-10407 Project Inheritance Plugin showed secret environment variables defined in Mask Passwords Plugin
- CVE-2020-2197 Missing permission check in Jenkins Project Inheritance Plugin
- CVE-2019-10408 Jenkins Project Inheritance Plugin vulnerable to Cross-Site Request Forgery
- CVE-2019-10409 Missing permission check in Jenkins Project Inheritance Plugin
Sources
Also known as GHSA-3hx4-285w-v6mm.