CVE-2022-29042
Java vulnerability analysis and mitigation

Overview

Jenkins Job Generator Plugin version 1.22 and earlier contains a stored cross-site scripting (XSS) vulnerability (CVE-2022-29042). The vulnerability was discovered as part of SECURITY-2617 and disclosed on April 12, 2022. The plugin fails to escape the name and description of Generator Parameter and Generator Choice parameters on Job Generator jobs' Build With Parameters views (Jenkins Advisory).

Technical details

The vulnerability stems from improper neutralization of input during web page generation, specifically in how the plugin handles parameter names and descriptions. It is classified as a stored XSS vulnerability (CWE-79). The vulnerability has a CVSS v3.1 base score of 5.4 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (NVD).

Impact

The vulnerability allows attackers with Item/Configure permission to perform stored cross-site scripting attacks. Exploitation requires that parameters are listed on pages like 'Build With Parameters' and 'Parameters' pages, and that those pages are not hardened to prevent exploitation (Jenkins Advisory).

Mitigation and workarounds

As of the advisory's publication on April 12, 2022, no fix was available for the Job Generator Plugin. Jenkins core has implemented protections against this type of vulnerability on the 'Build With Parameters' and 'Parameters' pages since version 2.44 and LTS 2.32.2 as part of the SECURITY-353 / CVE-2017-2601 fix (Jenkins Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14306CRITICAL10
  • JavaJava
  • net.sf.robocode:robocode.core
NoYesDec 09, 2025
CVE-2025-14307CRITICAL9.3
  • JavaJava
  • net.sf.robocode:robocode.battle
NoYesDec 09, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • at.yawk.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
GHSA-93fv-4pm9-xp28MEDIUM6.9
  • JavaJava
  • net.dv8tion:jda
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management