VDB
Sign up
MEDIUM5.4

GHSA-wv63-gwr9-5c55

Stored XSS vulnerability in Jenkins button labels

Quick fix

GHSA-wv63-gwr9-5c55 — org.jenkins-ci.main:jenkins-core: upgrade to the fixed version with the command below.

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

Details

Jenkins 2.274 and earlier, LTS 2.263.1 and earlier does not escape button labels in the Jenkins UI.

This results in a cross-site scripting vulnerability exploitable by attackers with the ability to control button labels. An example of buttons with a user-controlled label are the buttons of the Pipeline `input` step.

Jenkins 2.275, LTS 2.263.2 escapes button labels in the Jenkins UI.

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

References