CVE-2017-1000102 Persistent XSS vulnerability in Static Analysis Utilities

Medium 5.4 Published Updated

Attackers can inject malicious HTML into the Details view of Static Analysis Utilities plugins via manipulated console output, potentially executing scripts in the user's browser.

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-2017-1000102?

CVE-2017-1000102 is a medium-severity cross-site scripting vulnerability in n/a, published on 4 Oct 2017. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

The Details view of some Static Analysis Utilities based plugins, was vulnerable to a persisted cross-site scripting vulnerability: Malicious users able to influence the input to these plugins, for example the console output which is parsed to extract build warnings (Warnings Plugin), could insert arbitrary HTML into this view.

Weakness: CWE-79

Which versions are affected by CVE-2017-1000102?

2 open source packages ship an affected version, including org.jvnet.hudson.plugins:analysis-core. It affects 1 product.

PackageAffectedFixed in
org.jvnet.hudson.plugins:analysis-core MavenAll versions1.92
org.jvnet.hudson.plugins:analysis-core MavenAll versions1.92

Products include Jenkins Static Analysis Utilities.

How do I fix CVE-2017-1000102?

Upgrade org.jvnet.hudson.plugins:analysis-core to 1.92 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-2017-1000102 being exploited?

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

Sources

Also known as GHSA-9c2p-99pg-c4j9.

Is CVE-2017-1000102 in your software?

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

Check your SBOMs for free