CVE-2022-34178 Reflected Cross site scripting in Jenkins Embeddable Build Status Plugin

Medium 6.1 Published Updated

Attackers can execute arbitrary scripts in victim browsers via a reflected XSS vulnerability in the Jenkins Embeddable Build Status Plugin.

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-2022-34178?

CVE-2022-34178 is a medium-severity cross-site scripting vulnerability in Jenkins Embeddable Build Status Plugin, published on 22 Jun 2022. 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 Embeddable Build Status Plugin 2.0.3 allows specifying a 'link' query parameter that build status badges will link to, without restricting possible values, resulting in a reflected cross-site scripting (XSS) vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2022-34178?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:embeddable-build-status MavenAll versions2.0.4
org.jenkins-ci.plugins:embeddable-build-status MavenAll versions2.0.4

Products include Jenkins Embeddable Build Status.

How do I fix CVE-2022-34178?

Upgrade org.jenkins-ci.plugins:embeddable-build-status to 2.0.4 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-2022-34178 being exploited?

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

Sources

Also known as GHSA-39r3-h8q6-2phq.

Is CVE-2022-34178 in your software?

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

Check your SBOMs for free