GHSA-7f84-p6r5-jr6q
Cross-site Scripting vulnerability in Jenkins
At a glance
- Published
- Updated
- CVE
- CVE-2022-34171
- Aliases
- BIT-jenkins-2022-34171
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Description
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
| Package | Versions |
|---|---|
| Maven · org.jenkins-ci.main:jenkins-core | introduced 2.350, fixed 2.356 |
| Maven · org.jenkins-ci.main:jenkins-core | introduced 2.346, fixed 2.346.1 |
| Maven · org.jenkins-ci.main:jenkins-core | introduced 0, fixed 2.332.4 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-34171 ADVISORY
- https://github.com/jenkinsci/jenkins PACKAGE
- https://www.jenkins.io/security/advisory/2022-06-22/#SECURITY-2781 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |