CVE-2024-52552 Stored XSS vulnerability in Jenkins Authorize Project Plugin

High 8.0 Published Updated

Attackers with Item/Configure permission can inject JavaScript into job names, leading to stored XSS in the Jenkins Authorize Project Plugin.

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-2024-52552?

CVE-2024-52552 is a high-severity cross-site scripting vulnerability in Jenkins Authorize Project Plugin, published on 13 Nov 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 Authorize Project Plugin 1.7.2 and earlier evaluates a string containing the job name with JavaScript on the Authorization view, 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-52552?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:authorize-project MavenAll versions1.8.0
org.jenkins-ci.plugins:authorize-project MavenAll versions1.8.0

Products include Jenkins Authorize Project.

How do I fix CVE-2024-52552?

Upgrade org.jenkins-ci.plugins:authorize-project to 1.8.0 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-52552 being exploited?

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

Sources

Also known as GHSA-8886-8v27-85j8.

Is CVE-2024-52552 in your software?

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

Check your SBOMs for free