Skip to content
Fencer Intel
medium 5.4

CVE-2020-2226 json

Stored XSS vulnerability in Jenkins Matrix Authorization Strategy Plugin

published 6y ago modified 4mo ago also GHSA-vr6v-wjfw-rxcr , EUVD-2022-5417

cvss
5.4
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.9%
EPSS 0.9% chance of exploitation in 30 days, percentile 60%
public exploits
0
none known

Summary

Jenkins Matrix Authorization Strategy Plugin 2.6.1 and earlier does not escape user names shown in the configuration, resulting in a stored cross-site scripting vulnerability.

Patch / fix

  • maven org.jenkins-ci.plugins:matrix-auth 2.6.2
  • jenkins openshift 3.11 2.235.2.1597220898-1.el7
  • python-rsa openshift 3.11 4.5-2.el7
  • python2-rsa openshift 3.11 4.5-2.el7
  • jenkins-2-plugins openshift 3.11 3.11.1597310986-1.el7
  • openshift-ansible openshift 3.11 3.11.272-1.git.0.79ab6e9.el7
  • openshift-ansible-test openshift 3.11 3.11.272-1.git.0.79ab6e9.el7
  • openshift-ansible-roles openshift 3.11 3.11.272-1.git.0.79ab6e9.el7
  • openshift-ansible-playbooks openshift 3.11 3.11.272-1.git.0.79ab6e9.el7

red hat advisories RHSA-2020:3541RHSA-2020:4265RHSA-2020:3625RHSA-2020:3453

Is CVE-2020-2226 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-2226 updated cvss 8.0

jenkins-2-plugins/matrix-auth: Stored XSS vulnerability in Matrix Authorization Strategy Plugin

  • Red Hat OpenShift Container Platform 3.11 jenkins-2-plugins 3.11.1597310986-1.el7
    fixed: vendor fix RHSA-2020:3541
  • Red Hat OpenShift Container Platform 4.3 jenkins-2-plugins 4.3.1601981312-1.el7
    fixed: vendor fix RHSA-2020:4265
  • Red Hat OpenShift Container Platform 4.4 jenkins-2-plugins 4.4.1598545590-1.el7
    fixed: vendor fix RHSA-2020:3625
  • Red Hat OpenShift Container Platform 4.5 jenkins-2-plugins 4.5.1596698303-1.el7
    fixed: vendor fix RHSA-2020:3453
  • Red Hat OpenShift Container Platform 4.6 openshift4/ose-pod v4.6.0-202010061132.p0, openshift4/ose-jenkins v4.6.0-202010120952.p0, openshift4/ose-deployer v4.6.0-202010080605.p0, openshift4/ose-sdn-rhel8 v4.6.0-202010061132.p0, openshift4/ose-telemeter v4.6.0-202010061132.p0, openshift4/ose-kube-proxy v4.6.0-202010061132.p0, +49 more
    fixed: vendor fix RHBA-2020:4196
  • Red Hat OpenShift Container Platform 3.11 python-rsa 4.5-2.el7, python2-rsa 4.5-2.el7, jenkins 2.235.2.1597220898-1.el7, openshift-ansible 3.11.272-1.git.0.79ab6e9.el7, openshift-ansible-test 3.11.272-1.git.0.79ab6e9.el7, openshift-ansible-roles 3.11.272-1.git.0.79ab6e9.el7, +1 more Red Hat OpenShift Container Platform 4.3 perf 4.18.0-193.24.1.el8_2.dt1, kernel 4.18.0-193.24.1.el8_2.dt1, bpftool 4.18.0-193.24.1.el8_2.dt1, kernel-core 4.18.0-193.24.1.el8_2.dt1, kernel-tools 4.18.0-193.24.1.el8_2.dt1, python3-perf 4.18.0-193.24.1.el8_2.dt1, +51 more Red Hat OpenShift Container Platform 4.5 python-rsa 4.5-1.el7, python2-rsa 4.5-1.el7
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.92% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD 2.0 3.5 AV:N/AC:M/Au:S/C:N/I:P/A:N
GitHub 3.1 8.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
maven org.jenkins-ci.plugins:matrix-auth
<2.6.2
2.6.2

Affected products

  • Jenkins project Jenkins Matrix Authorization Strategy Plugin

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.