CVE-2024-28150 Jenkins HTML Publisher Plugin Stored XSS vulnerability

Medium 4.7 Published Updated

Stored XSS in Jenkins HTML Publisher Plugin allows attackers with configure permissions to inject scripts via job or report names.

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
Available

What is CVE-2024-28150?

CVE-2024-28150 is a medium-severity cross-site scripting vulnerability in Jenkins HTML Publisher Plugin, published on 6 Mar 2024. 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

Jenkins HTML Publisher Plugin 1.32 and earlier does not escape job names, report names, and index page titles shown as part of the report frame, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Item/Configure permission.

Weakness: CWE-79

Which versions are affected by CVE-2024-28150?

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.32.1
org.jenkins-ci.plugins:htmlpublisher MavenAll versions1.32.1

Products include Jenkins Html Publisher.

How do I fix CVE-2024-28150?

Upgrade org.jenkins-ci.plugins:htmlpublisher to 1.32.1 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-2024-28150 being exploited?

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

Sources

Also known as GHSA-xrrw-9j78-hpf3.

Is CVE-2024-28150 in your software?

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

Check your SBOMs for free