jenkinsci/matrix-auth-plugin · Security
Stored XSS vulnerability in Jenkins Matrix Authorization Strategy Plugin
- GHSA ID
- GHSA-vr6v-wjfw-rxcr
- CVE ID
- CVE-2020-2226
- Severity
- high
- Published
- Updated
- CVSS
- 8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- CVSS v3
- 8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Description
Matrix Authorization Strategy Plugin 2.6.1 and earlier does not escape user names shown in the permission table. This results in a stored cross-site scripting (XSS) vulnerability. When using project-based matrix authorization, this vulnerability can be exploited by a user with Job/Configure or Agent/Configure permission, otherwise by users with Overall/Administer permission.
Matrix Authorization Strategy Plugin 2.6.2 escapes user names in the permission table.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-2226 ↗
- https://jenkins.io/security/advisory/2020-07-15/#SECURITY-1909 ↗
- http://www.openwall.com/lists/oss-security/2020/07/15/5 ↗
- https://github.com/jenkinsci/matrix-auth-plugin/commit/e263a2feb47594787952a7e0bd1550e849c58b07 ↗
- https://github.com/advisories/GHSA-vr6v-wjfw-rxcr ↗