CVE-2023-46650 Stored XSS vulnerability in Jenkins GitHub Plugin

Medium 5.4 Published Updated

Stored XSS in Jenkins GitHub Plugin allows attackers with Item/Configure permission to execute scripts in victim browsers.

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-2023-46650?

CVE-2023-46650 is a medium-severity cross-site scripting vulnerability in Jenkins GitHub Plugin, published on 25 Oct 2023. 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 GitHub Plugin 1.37.3 and earlier does not escape the GitHub project URL on the build page when showing changes, 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-2023-46650?

2 open source packages ship an affected version, including com.coravy.hudson.plugins.github:github. It affects 1 product.

PackageAffectedFixed in
com.coravy.hudson.plugins.github:github MavenAll versions1.37.3.1
com.coravy.hudson.plugins.github:github MavenAll versions1.37.3.1

Products include Jenkins Github.

How do I fix CVE-2023-46650?

Upgrade com.coravy.hudson.plugins.github:github to 1.37.3.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-2023-46650 being exploited?

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

Sources

Also known as GHSA-mv77-fj63-q5w8.

Is CVE-2023-46650 in your software?

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

Check your SBOMs for free