GitHub Advisory Database
GHSA-jpvq-v729-7j2h
Improper Neutralization of Input During Web Page Generation in Jenkins
Details
Jenkins 2.251 and earlier, LTS 2.235.3 and earlier does not escape the remote address of the host starting a build via 'Trigger builds remotely', resulting in a stored cross-site scripting (XSS) vulnerability exploitable by users with Job/Configure permission or knowledge of the Authentication Token.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.jenkins-ci.main:jenkins-core | All versions before 2.235.4 (fixed in 2.235.4) |
| Maven | org.jenkins-ci.main:jenkins-core | From 2.237 before 2.252 (fixed in 2.252) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-2231
- https://github.com/jenkinsci/jenkins/commit/29c9a8fdeafe26fded955cfba188f50fd4f1786a
- https://jenkins.io/security/advisory/2020-08-12/#SECURITY-1960
- http://packetstormsecurity.com/files/160616/Jenkins-2.251-LTS-2.235.3-Cross-Site-Scripting.html
- http://www.openwall.com/lists/oss-security/2020/08/12/4