CVE-2019-10432 Jenkins HTML Publisher Plugin vulnerable to Cross-site Scripting

Medium 5.4 Published Updated

Attackers with permission to change project or build names can inject malicious scripts into HTML reports, 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-2019-10432?

CVE-2019-10432 is a medium-severity cross-site scripting vulnerability in Jenkins HTML Publisher Plugin, published on 1 Oct 2019. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Jenkins HTML Publisher Plugin 1.20 and earlier did not escape the project and build display names in the HTML report frame, resulting in a cross-site scripting vulnerability exploitable by users able to change those.

Weakness: CWE-79

Which versions are affected by CVE-2019-10432?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:htmlpublisher MavenAll versions1.21
org.jenkins-ci.plugins:htmlpublisher MavenAll versions1.21

Products include Jenkins Html Publisher.

How do I fix CVE-2019-10432?

Upgrade org.jenkins-ci.plugins:htmlpublisher to 1.21 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-2019-10432 being exploited?

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

Sources

Also known as GHSA-q829-hrmc-84c8.

Is CVE-2019-10432 in your software?

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

Check your SBOMs for free