GHSA-f3jq-9c79-j65m

Suggest an improvement
Source
https://github.com/advisories/GHSA-f3jq-9c79-j65m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-f3jq-9c79-j65m/GHSA-f3jq-9c79-j65m.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-f3jq-9c79-j65m
Aliases
Published
2022-04-13T00:00:17Z
Modified
2023-11-01T04:58:39.205502Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Stored Cross-site Scripting vulnerability in Jenkins Job Generator Plugin
Details

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.

Exploitation of this vulnerability requires that parameters are listed on another page, like the \"Build With Parameters\" and \"Parameters\" pages provided by Jenkins (core), and that those pages are not hardened to prevent exploitation. Jenkins (core) has prevented exploitation of vulnerabilities of this kind on the \"Build With Parameters\" and \"Parameters\" pages since 2.44 and LTS 2.32.2 as part of the SECURITY-353 / CVE-2017-2601 fix.

Database specific
{
    "nvd_published_at": "2022-04-12T20:15:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-12-02T21:23:16Z"
}
References

Affected packages

Maven / org.jenkins-ci.plugins:jobgenerator

Package

Name
org.jenkins-ci.plugins:jobgenerator
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/jobgenerator

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.22

Affected versions

1.*

1.0
1.01
1.02
1.03
1.04
1.05
1.06
1.07
1.08
1.09
1.10
1.11
1.12
1.13
1.14
1.15
1.16
1.17
1.18
1.19
1.20
1.21
1.22