MEDIUM5.4
GHSA-6456-xjm5-g3pg
Cross-site scripting vulnerability exists in Jenkins and Stapler Plugin
Quick fix
GHSA-6456-xjm5-g3pg — org.jenkins-ci.main:jenkins-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.121.2</version> for org.jenkins-ci.main:jenkins-coreDetails
A cross-site scripting vulnerability exists in Jenkins 2.132 and earlier, 2.121.1 and earlier in the Stapler web framework's org/kohsuke/stapler/Stapler.java that allows attackers with the ability to control the existence of some URLs in Jenkins to define JavaScript that would be executed in another user's browser when that other user views HTTP 404 error pages while Stapler debug mode is enabled.
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.121.2Fix
# pom.xml: bump <version>2.121.2</version> for org.jenkins-ci.main:jenkins-coreMaven/org.jenkins-ci.main:jenkins-core
Introduced in:
2.122Fixed in: 2.132Fix
# pom.xml: bump <version>2.132</version> for org.jenkins-ci.main:jenkins-coreMaven/org.kohsuke.stapler:stapler-parent
Introduced in:
0Fixed in: 1.250.1Fix
# pom.xml: bump <version>1.250.1</version> for org.kohsuke.stapler:stapler-parentReferences
- https://nvd.nist.gov/vuln/detail/CVE-2018-1999007[ADVISORY]
- https://github.com/jenkinsci/stapler/commit/03e221a81e8424709d1fbdf72ab814309dd8e13f[WEB]
- https://github.com/jenkinsci/jenkins[PACKAGE]
- https://jenkins.io/security/advisory/2018-07-18/#SECURITY-390[WEB]
- https://www.oracle.com/security-alerts/cpuapr2022.html[WEB]