CVE-2022-34171Jenkins
Medium 5.4
Follow: this CVE · Jenkins · Jenkins We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.4
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 65
- Auth required
- Yes
- Published
- Jun 23, 2022
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
In Jenkins 2.321 through 2.355 (both inclusive) and LTS 2.332.1 through LTS 2.332.3 (both inclusive) 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, resulting in a cross-site scripting (XSS) vulnerability.
What to do
- Apply the vendor's security update for Jenkins.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.jenkins-ci.main:jenkins-core |
≥ 2.350 < 2.356 |
2.356 |
— |
| Maven | org.jenkins-ci.main:jenkins-core |
≥ 2.346 < 2.346.1 |
2.346.1 |
— |
| Maven | org.jenkins-ci.main:jenkins-core |
< 2.332.4 |
2.332.4 |
— |
Per OSV / GitHub Advisories (GHSA-7f84-p6r5-jr6q). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jenkins | jenkins | ≥ 2.321 ≤ 2.355 |
| jenkins | jenkins | ≥ 2.332.1 ≤ 2.332.3 |
Official sources
References
Links published by the sources. Open them with care.
- www.jenkins.io Vendor Advisory