CVE-2019-10336 Jenkins ElectricFlow Plugin is vulnerable to reflected cross site scripting vulnerability

Medium 6.1 Published Updated

Attackers controlling ElectricFlow API output can inject scripts into Jenkins job configuration forms, 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-2019-10336?

CVE-2019-10336 is a medium-severity cross-site scripting vulnerability in Jenkins ElectricFlow Plugin, published on 11 Jun 2019. 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

A reflected cross site scripting vulnerability in Jenkins ElectricFlow Plugin 1.1.6 and earlier allowed attackers able to control the output of the ElectricFlow API to inject arbitrary HTML and JavaScript in job configuration forms containing post-build steps provided by this plugin.

Weakness: CWE-79

Which versions are affected by CVE-2019-10336?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:electricflow MavenAll versions1.1.7
org.jenkins-ci.plugins:electricflow MavenAll versions1.1.7

Products include Jenkins Electricflow.

How do I fix CVE-2019-10336?

Upgrade org.jenkins-ci.plugins:electricflow to 1.1.7 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-10336 being exploited?

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

Sources

Also known as GHSA-w3pj-v9jr-v2wc.

Is CVE-2019-10336 in your software?

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

Check your SBOMs for free