CVE-2020-2224 Stored XSS vulnerability in single axis builds tooltips in Jenkins Matrix Project Plugin
Stored XSS in Jenkins Matrix Project Plugin allows attackers to execute scripts via unescaped node names in build tooltips.
- 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-2020-2224?
CVE-2020-2224 is a medium-severity cross-site scripting vulnerability in Jenkins Matrix Project Plugin, published on 15 Jul 2020. 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 Matrix Project Plugin 1.16 and earlier does not escape the node names shown in tooltips on the overview page of builds with a single axis, resulting in a stored cross-site scripting vulnerability.
Weakness: CWE-79
Which versions are affected by CVE-2020-2224?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:matrix-project. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:matrix-project Maven | All versions | 1.17 |
org.jenkins-ci.plugins:matrix-project Maven | All versions | 1.17 |
Products include Jenkins Matrix Project.
How do I fix CVE-2020-2224?
Upgrade org.jenkins-ci.plugins:matrix-project to 1.17 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-2020-2224 being exploited?
There is no known exploitation of CVE-2020-2224 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Matrix Project Plugin
- CVE-2019-1003031 Script security sandbox bypass in Matrix Project Plugin
- CVE-2022-20615 Stored XSS vulnerability in Matrix Project Plugin
- CVE-2020-2225 Stored XSS vulnerability in multiple axis builds tooltips in Jenkins Matrix Project Plugin
- CVE-2024-23900 Path traversal vulnerability in Jenkins Matrix Project Plugin
Sources
Also known as GHSA-h6qc-455m-7v6v.