CVE-2018-1000144 Jenkins Cucumber Living Documentation Plugin Cross-site Scripting vulnerability

Medium 6.1 Published Updated

Attackers can execute scripts in Jenkins users' browsers by controlling archived artifacts or workspace files due to disabled CSP in the Cucumber Living Documentation Plugin.

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-2018-1000144?

CVE-2018-1000144 is a medium-severity cross-site scripting vulnerability in n/a, published on 5 Apr 2018. 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 cross site scripting vulnerability exists in Jenkins Cucumber Living Documentation Plugin 1.0.12 and older in CukedoctorBaseAction#doDynamic that disables the Content-Security-Policy protection for archived artifacts and workspace files, allowing attackers able to control the content of these files to attack Jenkins users.

Weakness: CWE-79

Which versions are affected by CVE-2018-1000144?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:cucumber-living-documentation MavenAll versions1.1.0
org.jenkins-ci.plugins:cucumber-living-documentation MavenAll versions1.1.0

Products include Jenkins Cucumber Living Documentation.

How do I fix CVE-2018-1000144?

Upgrade org.jenkins-ci.plugins:cucumber-living-documentation to 1.1.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-2018-1000144 being exploited?

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

Sources

Also known as GHSA-q7jx-r75r-hgj2.

Is CVE-2018-1000144 in your software?

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

Check your SBOMs for free