# CVE-2022-29042: Stored Cross-site Scripting vulnerability in Jenkins Job Generator Plugin

- 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): 0.83%, higher than 58% of CVEs (2026-12-01)
- Published: 2022-04-12T19:50:38.000Z
- Modified: 2026-06-17T04:39:29.527Z
- Also known as: GHSA-f3jq-9c79-j65m
- Weaknesses: CWE-79
- Assigned by: jenkins

## Description

Jenkins Job Generator Plugin 1.22 and earlier does not escape the name and description of Generator Parameter and Generator Choice parameters on Job Generator jobs' Build With Parameters views, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Item/Configure permission.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins Job Generator Plugin: from unspecified up to 1.22; from next of 1.22 before unspecified
- org.jenkins-ci.plugins:jobgenerator (Maven): up to 1.22
- jenkins job_generator: up to 1.22

## Every score

- GitHub: 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: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 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://www.jenkins.io/security/advisory/2022-04-12/#SECURITY-2617> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-29042> (advisory)
- <https://github.com/jenkinsci/jobgenerator-plugin> (package)

## Sources

- CVE List: [CVE-2022-29042](https://www.cve.org/CVERecord?id=CVE-2022-29042), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-f3jq-9c79-j65m](https://github.com/advisories/GHSA-f3jq-9c79-j65m), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2022-29042](https://nvd.nist.gov/vuln/detail/CVE-2022-29042), Public domain, modified 2026-06-17

---

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