CVE-2019-10475 Jenkins build-metrics Plugin reflected cross-site scripting vulnerability

Medium 6.1 Published Updated

Attackers can inject arbitrary HTML and JavaScript into Jenkins web pages via the build-metrics plugin, potentially compromising user sessions.

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
None listed

What is CVE-2019-10475?

CVE-2019-10475 is a medium-severity cross-site scripting vulnerability in Jenkins build-metrics Plugin, published on 23 Oct 2019. 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 reflected cross-site scripting vulnerability in Jenkins build-metrics Plugin allows attackers to inject arbitrary HTML and JavaScript into web pages provided by this plugin.

Weakness: CWE-79

Which versions are affected by CVE-2019-10475?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:build-metrics MavenAll versions to 1.3None
org.jenkins-ci.plugins:build-metrics MavenAll versions to 1.3None

Products include Jenkins Build-Metrics.

How do I fix CVE-2019-10475?

No fix has been published for CVE-2019-10475 yet. Limit exposure of the affected software until one is available.

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-2019-10475 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-10475 exists.

Public exploit code: 1 Exploit-DB entry, 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-f8w9-66fp-3jgw.

Is CVE-2019-10475 in your software?

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

Check your SBOMs for free