# CVE-2022-34171: Cross-site Scripting vulnerability in Jenkins

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.58%, higher than 76% of CVEs (2026-12-01)
- Published: 2022-06-22T14:40:51.000Z
- Modified: 2026-09-08T08:47:57.703Z
- Also known as: GHSA-7f84-p6r5-jr6q, BIT-JENKINS-2022-34171
- Weaknesses: CWE-22, CWE-79
- Assigned by: jenkins

## Description

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.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins: from 2.321 before unspecified; from unspecified up to 2.355; from LTS 2.332.1 before unspecified; from unspecified up to LTS 2.332.3
- org.jenkins-ci.main:jenkins-core (Maven): from 2.350 before 2.356; from 2.346 before 2.346.1; before 2.332.4
- jenkins jenkins: from 2.321 up to 2.355; from 2.332.1 up to 2.332.3
- jenkins (Bitnami): from 2.321.0 before 2.355.1

## Every score

- GitHub: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://www.jenkins.io/security/advisory/2022-06-22/#SECURITY-2781> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-34171> (advisory, web)
- <https://github.com/jenkinsci/jenkins> (package)

## Sources

- CVE List: [CVE-2022-34171](https://www.cve.org/CVERecord?id=CVE-2022-34171), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-7f84-p6r5-jr6q](https://github.com/advisories/GHSA-7f84-p6r5-jr6q), CC-BY-4.0, modified 2023-12-06
- NVD: [CVE-2022-34171](https://nvd.nist.gov/vuln/detail/CVE-2022-34171), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-JENKINS-2022-34171](https://osv.dev/vulnerability/BIT-JENKINS-2022-34171), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-34171 · Whole record: https://cve.day/CVE-2022-34171.json · Rebuilt by cve.day 2026-11-25T22:58:12.505Z
