CVE-2020-2223: XSS
A flaw was found in Jenkins versions 2.244 and prior and in LTS 2.235.1 and prior. HREF attribute of links to downstream jobs are not escaped on build console pages which could lead to a stored cross-site scripting (XSS) vulnerability. The user must have the Agent/Configure permission for this exploit to function. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Other sources
Jenkins 2.244 and earlier, LTS 2.235.1 and earlier does not escape correctly the 'href' attribute of links to downstream jobs displayed in the build console page, resulting in a stored cross-site scripting vulnerability.
Jenkins 2.244 and earlier, LTS 2.235.1 and earlier does not escape the href attribute of links to downstream jobs displayed in the build console page. This results in a stored cross-site scripting (XSS) vulnerability exploitable by users with Job/Configure permission.
Jenkins 2.245, LTS 2.235.2 escapes the href attribute of these links.
Jenkins 2.244 and earlier, LTS 2.235.1 and earlier does not escape the href attribute of links to downstream jobs displayed in the build console page. This results in a stored cross-site scripting (XSS) vulnerability exploitable by users with Job/Configure permission.
References:
https://www.jenkins.io/security/advisory/2020-07-15/
— Red Hat
Affected Software
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2020-2223?
CVE-2020-2223 is considered a medium severity vulnerability due to its potential for stored cross-site scripting (XSS).
How do I fix CVE-2020-2223?
To fix CVE-2020-2223, update Jenkins to version 2.245 or later, or to a patched version within the 2.235 release series.
What versions of Jenkins are affected by CVE-2020-2223?
CVE-2020-2223 affects Jenkins versions 2.244 and prior, as well as LTS versions 2.235.1 and prior.
What type of vulnerability is CVE-2020-2223?
CVE-2020-2223 is classified as a stored cross-site scripting (XSS) vulnerability.
Who is at risk due to CVE-2020-2223?
Users with Agent/Configure permission in Jenkins installations prior to the fixed versions are at risk due to CVE-2020-2223.