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-24802 Vulnerability in npm package deepmerge-ts
CVE-2023-37960 Vulnerability in maven package io.jenkins.plugins:mathworks-polyspace
CVE-2021-23377 Vulnerability in npm package onion-oled-js
CVE-2023-22665 Vulnerability in maven package org.apache.jena:jena-arq
CVE-2021-32820 Vulnerability in npm package express-handlebars