GHSA-pc9c-547w-hhmc

Suggest an improvement
Source
https://github.com/advisories/GHSA-pc9c-547w-hhmc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-pc9c-547w-hhmc/GHSA-pc9c-547w-hhmc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pc9c-547w-hhmc
Aliases
Published
2022-06-24T00:00:31Z
Modified
2023-11-08T04:09:43.648815Z
Severity
  • 8.0 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Cross-site Scripting in Jenkins REST List Parameter Plugin
Details

Jenkins REST List Parameter Plugin 1.5.2 and earlier does not escape the name and description of REST list parameters on views displaying parameters, 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. Additionally, several plugins have previously been updated to list parameters in a way that prevents exploitation by default, see SECURITY-2617 in the 2022-04-12 security advisory for a list.

Database specific
{
    "nvd_published_at": "2022-06-23T17:15:00Z",
    "github_reviewed_at": "2022-07-05T22:55:58Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Maven / io.jenkins.plugins:rest-list-parameter

Package

Name
io.jenkins.plugins:rest-list-parameter
View open source insights on deps.dev
Purl
pkg:maven/io.jenkins.plugins/rest-list-parameter

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.0

Affected versions

1.*

1.0.0
1.0.1
1.1.0
1.2.0
1.2.1
1.2.2
1.3.0
1.3.1
1.3.3
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.5.2