GitHub Advisoryadvisory · Maven
GHSA-gfhj-524q-gcrm Stored XSS vulnerability in Jenkins console links
HIGH
Official page ↗
- Aliases
- CVE-2020-2223
- Ecosystem
- Maven
- Packages
- org.jenkins-ci.main:jenkins-core
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-79
- Reviewed
- 2022-06-24
Affected packages
• Maven org.jenkins-ci.main:jenkins-core: < 2.235.2 → fixed in 2.235.2
• Maven org.jenkins-ci.main:jenkins-core: >= 2.236, < 2.245 → fixed in 2.245
Description
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.
Related
Alias · CVE (1)
- CVE-2020-2223 Jenkins 2.244 and earlier, LTS 2.235.1 and earlier does not escape correctly the 'href' attribute of links to downstream jobs displayed in… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- 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