Description
Jenkins 2.415 and earlier, LTS 2.401.2 and earlier does not sanitize or properly encode URLs in build logs when transforming them into hyperlinks, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control build log contents.
Remediation
References
http://www.openwall.com/lists/oss-security/2023/07/26/2
https://www.jenkins.io/security/advisory/2023-07-26/#SECURITY-3188
Related Vulnerabilities
CVE-2022-25873 Vulnerability in maven package org.webjars.bowergithub.vuetifyjs:vuetify
CVE-2022-31147 Vulnerability in maven package org.webjars:jquery-validation
CVE-2020-8125 Vulnerability in maven package org.webjars.npm:klona
CVE-2017-7666 Vulnerability in maven package org.apache.openmeetings:openmeetings-web