CVE-2015-7536 Improper Neutralization of Input During Web Page Generation in Jenkins

Medium 5.4 Published Updated

Remote authenticated users can inject arbitrary web script or HTML via workspaces and archived artifacts in Jenkins.

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-2015-7536?

CVE-2015-7536 is a medium-severity cross-site scripting vulnerability in Jenkins Jenkins, published on 3 Feb 2016. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Cross-site scripting (XSS) vulnerability in Jenkins before 1.640 and LTS before 1.625.2 allows remote authenticated users to inject arbitrary web script or HTML via unspecified vectors related to workspaces and archived artifacts.

Weakness: CWE-79

Which versions are affected by CVE-2015-7536?

4 open source packages ship an affected version, including org.jenkins-ci.main:jenkins-core. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.main:jenkins-core MavenAll versions1.625.2
org.jenkins-ci.main:jenkins-core MavenAll versions1.625.2
org.jenkins-ci.main:jenkins-core MavenFrom 1.6261.640
org.jenkins-ci.main:jenkins-core MavenFrom 1.6261.640

Products include Jenkins Jenkins.

How do I fix CVE-2015-7536?

Upgrade org.jenkins-ci.main:jenkins-core to a fixed version for your release line: 1.625.2 or 1.640.

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-2015-7536 being exploited?

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

All Jenkins Jenkins vulnerabilities

Sources

Also known as GHSA-x3p3-929j-pq66.

Is CVE-2015-7536 in your software?

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

Check your SBOMs for free