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
https://www.jenkins.io/security/advisory/2023-07-26/#SECURITY-3188
http://www.openwall.com/lists/oss-security/2023/07/26/2
Related Vulnerabilities
CVE-2022-34202 Vulnerability in maven package com.geteasyqa:easyqa
CVE-2023-30516 Vulnerability in maven package org.jenkins-ci.plugins:image-tag-parameter
CVE-2022-22965 Vulnerability in maven package org.springframework:spring-webmvc
CVE-2020-2255 Vulnerability in maven package io.jenkins.blueocean:blueocean-parent