Skip to content
OpenAdvisories
Medium · 5.4 CVE-2022-29036 EUVD-2022-1827GHSA-rvg5-f5fj-mxvg

Cross-site Scripting in Jenkins Credentials Plugin

Published Apr 12, 2022 · Updated Aug 3, 2024 · Assigned by jenkins

Description

Jenkins Credentials Plugin 1111.v35a_307992395 and earlier, except 1087.1089.v2f1b_9a_b_040e4, 1074.1076.v39c30cecb_0e2, and 2.6.1.1, does not escape the name and description of Credentials parameters on views displaying parameters, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Item/Configure permission.

Affected products

VendorProductAffectedFixed
Jenkins project Jenkins Credentials Plugin unspecified – ≤ 1111.v35a_307992395 2.6.1.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat OpenShift 4 conmon 2:2.0.21-3.rhaos4.6.el7 RHSA-2022:4947
Red Hat OpenShift 4 cri-o 1.19.7-2.rhaos4.6.git3c20b65.el7 RHSA-2022:4947, RHSA-2022:1600, RHSA-2022:0871
Red Hat OpenShift 4 jenkins-2-plugins 4.6.1653312933-1.el8 RHSA-2022:4947, RHSA-2022:4909, RHSA-2022:2205
Red Hat OpenShift 3 atomic-openshift-dockerregistry 3.11.705-1.g0fa231c.el7 RHSA-2022:2280
Red Hat OpenShift 3 jenkins-2-plugins 3.11.1650628887-1.el7 RHSA-2022:2280

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jenkins-ci.plugins:credentials < 2.6.1.1 2.6.1.1 GHSA-rvg5-f5fj-mxvg
Maven org.jenkins-ci.plugins:credentials >= 2.6.2, < 1074.1076.v39c30cecb_0e2 1074.1076.v39c30cecb_0e2 GHSA-rvg5-f5fj-mxvg
Maven org.jenkins-ci.plugins:credentials >= 1087.v16065d268466, < 1087.1089.v2f1b_9a_b_040e4 1087.1089.v2f1b_9a_b_040e4 GHSA-rvg5-f5fj-mxvg
Maven org.jenkins-ci.plugins:credentials >= 1105, <= 1111.v35a — GHSA-rvg5-f5fj-mxvg

Advisories 7

References