VDB
Sign up
HIGH8.0

GHSA-864v-5q2g-fr64

Stored XSS vulnerability in Jenkins 'keep forever' badge icon

Quick fix

GHSA-864v-5q2g-fr64 — org.jenkins-ci.main:jenkins-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.235.2</version> for org.jenkins-ci.main:jenkins-core

Details

Jenkins 2.244 and earlier, LTS 2.235.1 and earlier does not escape the job name in the 'Keep this build forever' badge tooltip. This results in a stored cross-site scripting (XSS) vulnerability exploitable by users able to configure job names.

As job names do not generally support the character set needed for XSS, this is believed to be difficult to exploit in common configurations.

Jenkins 2.245, LTS 2.235.2 escapes the job name in the 'Keep this build forever' badge tooltip.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.jenkins-ci.main:jenkins-core
Introduced in: 0Fixed in: 2.235.2
Fix# pom.xml: bump <version>2.235.2</version> for org.jenkins-ci.main:jenkins-core
Maven/org.jenkins-ci.main:jenkins-core
Introduced in: 2.236Fixed in: 2.245
Fix# pom.xml: bump <version>2.245</version> for org.jenkins-ci.main:jenkins-core

References