cve.bz

CVE-2022-34171 jenkins jenkins: Cross-site Scripting

5.4 mediumEPSS 1.6%Fix available

Medium (5.4) in jenkins jenkins. EPSS 1.6% estimated probability of exploitation activity in the next 30 days. Fixed in org.jenkins-ci.main:jenkins-core 2.332.4, 2.346.1, 2.356.

On this page
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.

Severity

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
EPSS
1.6% (unchanged from 1.6% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 76th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-34171 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-34171?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-34171?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-34171 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Jenkins project Jenkinsfrom 2.321 before unspecified
Jenkins project Jenkinsthrough 2.355
Jenkins project Jenkinsfrom LTS 2.332.1 before unspecified
Jenkins project Jenkinsthrough LTS 2.332.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7f84-p6r5-jr6qMavenorg.jenkins-ci.main:jenkins-core>=2.350 <2.3562.356
GHSA-7f84-p6r5-jr6qMavenorg.jenkins-ci.main:jenkins-core>=2.346 <2.346.12.346.1
GHSA-7f84-p6r5-jr6qMavenorg.jenkins-ci.main:jenkins-core<2.332.42.332.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Alpinev3.16, v3.17, v3.18 and 6 morejenkins2.346.2-r0ALPINE-CVE-2022-34171

From the distributions' data via OSV.dev: the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability affects the Jenkins version 2.321 through 2.355 (both inclusive) and LTS 2.332.1 through LTS 2.332.3 (both inclusive). Red Hat products use Jenkins version 2.319 which is NOT affected by this vulnerability.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 3.11jenkinsNot affected
Red Hat OpenShift Container Platform 4jenkinsNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-34171.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON