VDB
Sign up
MEDIUM5.4

GHSA-mj7q-cmf3-mg7h

Stored XSS vulnerability in Jenkins on new item page

Quick fix

GHSA-mj7q-cmf3-mg7h — org.jenkins-ci.main:jenkins-core: upgrade to the fixed version with the command below.

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

Details

Jenkins 2.274 and earlier, LTS 2.263.1 and earlier does not escape display names and IDs of item types shown on the New Item page.

This results in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to specify display names or IDs of item types.

As of the publication of this advisory, the Jenkins security team is not aware of any plugins published via the Jenkins project update center that allow doing this. Jenkins 2.275, LTS 2.263.2 escapes display names and IDs of item types shown on the New Item page.

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

References