CVE-2018-1000113 Stored cross-site scripting vulnerability in Jenkins TestLink Plugin

Medium 5.4 Published Updated

An attacker can inject arbitrary HTML and JavaScript into Jenkins via controlled TestLink report names, potentially compromising user sessions.

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

CVE-2018-1000113 is a medium-severity cross-site scripting vulnerability in n/a, published on 13 Mar 2018. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A cross-site scripting vulnerability exists in Jenkins TestLink Plugin 2.12 and earlier in TestLinkBuildAction/summary.jelly and others that allow an attacker who can control e.g. TestLink report names to have Jenkins serve arbitrary HTML and JavaScript

Weakness: CWE-79

Which versions are affected by CVE-2018-1000113?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:testlink MavenAll versions2.13
org.jenkins-ci.plugins:testlink MavenAll versions2.13

Products include Jenkins Testlink.

How do I fix CVE-2018-1000113?

Upgrade org.jenkins-ci.plugins:testlink to 2.13 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-1000113 being exploited?

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

Sources

Also known as GHSA-3rrg-p8xc-3457.

Is CVE-2018-1000113 in your software?

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

Check your SBOMs for free