CVE-2016-4988 Cross-site Scripting in Jenkins Build Failure Analyzer plugin

Medium 6.1 Published Updated

Remote attackers can inject arbitrary web script or HTML into the Jenkins Build Failure Analyzer plugin, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-4988?

CVE-2016-4988 is a medium-severity cross-site scripting vulnerability in n/a, published on 9 Feb 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Cross-site scripting (XSS) vulnerability in the Build Failure Analyzer plugin before 1.16.0 in Jenkins allows remote attackers to inject arbitrary web script or HTML via an unspecified parameter.

Weakness: CWE-79

Which versions are affected by CVE-2016-4988?

2 open source packages ship an affected version, including com.sonyericsson.jenkins.plugins.bfa:build-failure-analyzer. It affects 1 product.

PackageAffectedFixed in
com.sonyericsson.jenkins.plugins.bfa:build-failure-analyzer MavenAll versions1.16.0
com.sonyericsson.jenkins.plugins.bfa:build-failure-analyzer MavenAll versions1.16.0

Products include Jenkins Build Failure Analyzer.

How do I fix CVE-2016-4988?

Upgrade com.sonyericsson.jenkins.plugins.bfa:build-failure-analyzer to 1.16.0 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-2016-4988 being exploited?

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

Sources

Also known as GHSA-7w89-qqxx-c62r.

Is CVE-2016-4988 in your software?

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

Check your SBOMs for free