CVE-2022-28145 Cross-site Scripting (XSS) vulnerability in Jenkins Continuous Integration with Toad Edge Plugin
Attackers with configure permissions can inject scripts into report files, leading to stored XSS in Jenkins Toad Edge 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-2022-28145?
CVE-2022-28145 is a medium-severity cross-site scripting vulnerability in Jenkins Continuous Integration with Toad Edge Plugin, published on 29 Mar 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 Continuous Integration with Toad Edge Plugin 2.3 and earlier does not apply Content-Security-Policy headers to report files it serves, resulting in a stored cross-site scripting (XSS) exploitable by attackers with Item/Configure permission or otherwise able to control report contents.
Weakness: CWE-79
Which versions are affected by CVE-2022-28145?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:ci-with-toad-edge. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:ci-with-toad-edge Maven | All versions | 2.4 |
org.jenkins-ci.plugins:ci-with-toad-edge Maven | All versions | 2.4 |
Products include Jenkins Continuous Integration With Toad Edge.
How do I fix CVE-2022-28145?
Upgrade org.jenkins-ci.plugins:ci-with-toad-edge to 2.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-2022-28145 being exploited?
There is no known exploitation of CVE-2022-28145 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Continuous Integration with Toad Edge Plugin
- CVE-2022-28146 Arbitrary file read vulnerability in Jenkins Continuous Integration with Toad Edge Plugin
- CVE-2022-28148 Path traversal vulnerability on Windows in Jenkins Continuous Integration with Toad Edge Plugin
- CVE-2022-28147 Missing permission check in Jenkins Continuous Integration with Toad Edge Plugin
Sources
Also known as GHSA-7jh8-ghwc-82cw.