GitHub Advisory Database
GHSA-7f84-p6r5-jr6q
Cross-site Scripting vulnerability in Jenkins
Details
Since Jenkins 2.321 and LTS 2.332.1, the HTML output generated for new symbol-based SVG icons includes the title attribute of l:ionicon until Jenkins 2.334 and alt attribute of l:icon since Jenkins 2.335 without further escaping.
This vulnerability is known to be exploitable by attackers with Job/Configure permission.
Jenkins 2.356, LTS 2.332.4 and LTS 2.346.1 addresses this vulnerability, the title attribute of l:ionicon (Jenkins LTS 2.332.4) and alt attribute of l:icon (Jenkins 2.356 and LTS 2.346.1) are escaped in the generated HTML output.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.jenkins-ci.main:jenkins-core | From 2.350 before 2.356 (fixed in 2.356) |
| Maven | org.jenkins-ci.main:jenkins-core | From 2.346 before 2.346.1 (fixed in 2.346.1) |
| Maven | org.jenkins-ci.main:jenkins-core | All versions before 2.332.4 (fixed in 2.332.4) |