GitHub Advisory Database
GHSA-gfhj-524q-gcrm
Stored XSS vulnerability in Jenkins console links
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.jenkins-ci.main:jenkins-core | All versions before 2.235.2 (fixed in 2.235.2) |
| Maven | org.jenkins-ci.main:jenkins-core | From 2.236 before 2.245 (fixed in 2.245) |