HIGH8.0
GHSA-gfhj-524q-gcrm
Stored XSS vulnerability in Jenkins console links
Quick fix
GHSA-gfhj-524q-gcrm — 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-coreDetails
Jenkins 2.244 and earlier, LTS 2.235.1 and earlier does not escape the `href` attribute of links to downstream jobs displayed in the build console page. This results in a stored cross-site scripting (XSS) vulnerability exploitable by users with Job/Configure permission.
Jenkins 2.245, LTS 2.235.2 escapes the `href` attribute of these links.
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.2Fix
# pom.xml: bump <version>2.235.2</version> for org.jenkins-ci.main:jenkins-coreMaven/org.jenkins-ci.main:jenkins-core
Introduced in:
2.236Fixed in: 2.245Fix
# pom.xml: bump <version>2.245</version> for org.jenkins-ci.main:jenkins-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2020-2223[ADVISORY]
- https://github.com/jenkinsci/jenkins/commit/11f4a351224ef04cfeb9c7636fb1590b67543f3c[WEB]
- https://github.com/jenkinsci/jenkins[PACKAGE]
- https://jenkins.io/security/advisory/2020-07-15/#SECURITY-1945[WEB]
- http://www.openwall.com/lists/oss-security/2020/07/15/5[WEB]