Description
Jenkins 2.196 and earlier, LTS 2.176.3 and earlier printed the value of the "Cookie" HTTP request header on the /whoAmI/ URL, allowing attackers exploiting another XSS vulnerability to obtain the HTTP session cookie despite it being marked HttpOnly.
Remediation
References
http://www.openwall.com/lists/oss-security/2019/09/25/3
https://jenkins.io/security/advisory/2019-09-25/#SECURITY-1505
Related Vulnerabilities
CVE-2021-21640 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2019-8331 Vulnerability in maven package org.webjars.npm:bootstrap
CVE-2022-36884 Vulnerability in maven package org.jenkins-ci.plugins:git
CVE-2016-7103 Vulnerability in npm package jquery-ui
CVE-2021-21141 Vulnerability in maven package org.webjars.npm:electron