CVE-2019-1003013 Cross-site Scripting in Jenkins Blue Ocean Plugin

Medium 5.4 Published Updated

Attackers with edit permissions can inject arbitrary HTML into user descriptions, leading to cross-site scripting in Jenkins Blue Ocean.

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-2019-1003013?

CVE-2019-1003013 is a medium-severity cross-site scripting vulnerability in Redhat Openshift Container Platform, published on 6 Feb 2019. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

An cross-site scripting vulnerability exists in Jenkins Blue Ocean Plugins 1.10.1 and earlier in blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/Export.java, blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/ExportConfig.java, blueocean-commons/src/main/java/io/jenkins/blueocean/commons/stapler/export/JSONDataWriter.java, blueocean-rest-impl/src/main/java/io/jenkins/blueocean/service/embedded/UserStatePreloader.java, blueocean-web/src/main/resources/io/jenkins/blueocean/PageStatePreloadDecorator/header.jelly that allows attackers with permission to edit a user's description in Jenkins to have Blue Ocean render arbitrary HTML when using it as that user.

Weakness: CWE-79

Which versions are affected by CVE-2019-1003013?

2 open source packages ship an affected version, including io.jenkins.blueocean:blueocean. It affects 2 products.

PackageAffectedFixed in
io.jenkins.blueocean:blueocean MavenAll versions1.10.2
io.jenkins.blueocean:blueocean MavenAll versions1.10.2

Products include Jenkins Blue Ocean, Redhat Openshift Container Platform.

How do I fix CVE-2019-1003013?

Upgrade io.jenkins.blueocean:blueocean to 1.10.2 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-2019-1003013 being exploited?

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

All Redhat Openshift Container Platform vulnerabilities

Sources

Also known as GHSA-7fjr-5hph-c2mh.

Is CVE-2019-1003013 in your software?

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

Check your SBOMs for free