CVE-2020-2137 Stored XSS vulnerability in Jenkins Timestamper Plugin

Medium 4.8 Published Updated

Stored XSS in Jenkins Timestamper Plugin allows attackers with admin permissions to execute arbitrary scripts in victim browsers.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-2137?

CVE-2020-2137 is a medium-severity cross-site scripting vulnerability in Jenkins Timestamper Plugin, published on 9 Mar 2020. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Jenkins Timestamper Plugin 1.11.1 and earlier does not sanitize HTML formatting of its output, resulting in a stored XSS vulnerability exploitable by attackers with Overall/Administer permission.

Weakness: CWE-79

Which versions are affected by CVE-2020-2137?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:timestamper MavenAll versions1.11.2
org.jenkins-ci.plugins:timestamper MavenAll versions1.11.2

Products include Jenkins Timestamper.

How do I fix CVE-2020-2137?

Upgrade org.jenkins-ci.plugins:timestamper to 1.11.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-2020-2137 being exploited?

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

Sources

Also known as GHSA-6xxf-rwv4-mrjm.

Is CVE-2020-2137 in your software?

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

Check your SBOMs for free