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-2019-16775 Vulnerability in maven package org.webjars.bower:npm
CVE-2020-27219 Vulnerability in maven package org.eclipse.hawkbit:hawkbit-update-server
CVE-2022-25758 Vulnerability in maven package org.webjars.npm:scss-tokenizer
CVE-2022-0722 Vulnerability in npm package parse-url
CVE-2023-35145 Vulnerability in maven package org.jenkins-ci.plugins:sonargraph-integration