CVE-2024-28156 Jenkins Build Monitor View Plugin vulnerable to stored Cross-site Scripting

Medium 5.4 Published Updated

Attackers with view configuration privileges can inject malicious scripts into Build Monitor View names, leading to stored XSS attacks against other users.

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

What is CVE-2024-28156?

CVE-2024-28156 is a medium-severity cross-site scripting vulnerability in Jenkins Build Monitor View Plugin, published on 6 Mar 2024. 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 Build Monitor View Plugin 1.14-860.vd06ef2568b_3f and earlier does not escape Build Monitor View names, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to configure Build Monitor Views.

Weakness: CWE-79

Which versions are affected by CVE-2024-28156?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:build-monitor-plugin MavenAll versions to 1.14-860.vd06ef2568bNone
org.jenkins-ci.plugins:build-monitor-plugin MavenAll versions to 1.14-860.vd06ef2568bNone

Products include Jenkins Build Monitor View.

How do I fix CVE-2024-28156?

No fix has been published for CVE-2024-28156 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-2024-28156 being exploited?

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

Sources

Also known as GHSA-5j5r-6mv9-m255.

Is CVE-2024-28156 in your software?

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

Check your SBOMs for free