CVE-2023-27905 Cross site scripting vulnerability in update-center2

Critical 9.6 Published Updated

Attackers can inject malicious scripts into Jenkins plugin index pages, potentially compromising user sessions and executing code in the browser.

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

CVE-2023-27905 is a critical cross-site scripting vulnerability in Jenkins update-center2, published on 8 Mar 2023. 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 update-center2 3.13 and 3.14 renders the required Jenkins core version on plugin download index pages without sanitization, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to provide a plugin for hosting.

Weakness: CWE-79

Which versions are affected by CVE-2023-27905?

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

PackageAffectedFixed in
org.jenkins-ci:update-center2 MavenFrom 3.133.15
org.jenkins-ci:update-center2 MavenFrom 3.133.15

Products include Jenkins Update-Center2.

How do I fix CVE-2023-27905?

Upgrade org.jenkins-ci:update-center2 to 3.15 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-27905 being exploited?

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

Sources

Also known as GHSA-pqg3-xfx2-fmqp.

Is CVE-2023-27905 in your software?

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

Check your SBOMs for free