VDB
Sign up
MEDIUM5.4

GHSA-g8pg-qrvm-wgh2

Improper Neutralization of Input During Web Page Generation in Jenkins

Quick fix

GHSA-g8pg-qrvm-wgh2 — org.jenkins-ci.main:jenkins-core: upgrade to the fixed version with the command below.

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

Details

Jenkins 2.227 and earlier, LTS 2.204.5 and earlier does not properly escape node labels that are shown in the form validation for label expressions on job configuration pages, resulting in a stored XSS vulnerability exploitable by users able to define node labels.

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.228
Fix# pom.xml: bump <version>2.228</version> for org.jenkins-ci.main:jenkins-core
Maven/org.jenkins-ci.main:jenkins-core
Introduced in: 2.204.6Fixed in: 2.228
Fix# pom.xml: bump <version>2.228</version> for org.jenkins-ci.main:jenkins-core

References