GHSA-88r9-hfj2-54hv

Suggest an improvement
Source
https://github.com/advisories/GHSA-88r9-hfj2-54hv
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-88r9-hfj2-54hv/GHSA-88r9-hfj2-54hv.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-88r9-hfj2-54hv
Aliases
Published
2022-06-24T00:00:32Z
Modified
2023-11-08T04:09:43.771371Z
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 Stash Branch Parameter Plugin
Details

Jenkins Stash Branch Parameter Plugin 0.3.0 and earlier does not escape the name and description of Stash Branch 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:44Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Maven / org.jenkins-ci.plugins:StashBranchParameter

Package

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

Affected ranges

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

Affected versions

0.*

0.1.3
0.1.5
0.2.0
0.3.0