CVE-2022-34198
JSON

5.4medium

Cross-site Scripting in Jenkins Stash Branch Parameter Plugin

Severity
5.4medium CVSS:3.1 by NVD
Exploit likelihood
0.78% (higher than 57% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
jenkins
Also known as
GHSA-88r9-hfj2-54hv

Description

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.

Affected

Product or packageVersionsReported by
Jenkins project Jenkins Stash Branch Parameter Pluginfrom unspecified up to 0.3.0, from next of 0.3.0 before unspecifiedCVE List
org.jenkins-ci.plugins:StashBranchParameter (Maven)up to 0.3.0GitHub Advisory Database
jenkins stash_branch_parameterup to 0.3.0NVD

All scores

GitHub8.0high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD3.5low CVSS:2.0AV:N/AC:M/Au:S/C:N/I:P/A:N

Classification

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

Jenkins Stash Branch Parameter Plugin 0.3.0 y anteriores, no escapa del nombre y la descripción de los parámetros Stash Branch en las visualizaciones que muestran los parámetros, resultando en una vulnerabilidad de tipo cross-site scripting (XSS) almacenados, explotable por atacantes con permiso Item/Configure

References

Sources

SourceRecordLicence
CVE ListCVE-2022-34198 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-88r9-hfj2-54hv changed 2023-11-08CC-BY-4.0
NVDCVE-2022-34198 changed 2026-06-17Public domain