CVE-2020-2225 Stored XSS vulnerability in multiple axis builds tooltips in Jenkins Matrix Project Plugin

Medium 5.4 Published Updated

Stored XSS in Jenkins Matrix Project Plugin allows attackers to execute scripts via unescaped axis 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-2225?

CVE-2020-2225 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 axis names shown in tooltips on the overview page of builds with multiple axes, resulting in a stored cross-site scripting vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2020-2225?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:matrix-project. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:matrix-project MavenAll versions1.17
org.jenkins-ci.plugins:matrix-project MavenAll versions1.17

Products include Jenkins Matrix Project.

How do I fix CVE-2020-2225?

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-2225 being exploited?

There is no known exploitation of CVE-2020-2225 in the wild and no public exploit code.

Sources

Also known as GHSA-w43x-5f8f-686p.

Is CVE-2020-2225 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free