CVE-2018-1000108 Reflected cross-site-scripting vulnerability in report URL of Jenkins CppNCSS Plugin

Medium 6.1 Published Updated

An attacker can execute arbitrary JavaScript in a user's browser via crafted links in the Jenkins CppNCSS 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-1000108?

CVE-2018-1000108 is a medium-severity cross-site scripting vulnerability in n/a, published on 13 Mar 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 CppNCSS Plugin 1.1 and earlier in AbstractProjectAction/index.jelly that allow an attacker to craft links to Jenkins URLs that run arbitrary JavaScript in the user's browser when accessed.

Weakness: CWE-79

Which versions are affected by CVE-2018-1000108?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:cppncss MavenAll versions1.2
org.jenkins-ci.plugins:cppncss MavenAll versions1.2

Products include Jenkins Cppncss.

How do I fix CVE-2018-1000108?

Upgrade org.jenkins-ci.plugins:cppncss to 1.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-2018-1000108 being exploited?

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

Sources

Also known as GHSA-xgmh-rvpw-6498.

Is CVE-2018-1000108 in your software?

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

Check your SBOMs for free