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-37767 Vulnerability in maven package io.pebbletemplates:pebble
CVE-2018-8010 Vulnerability in maven package org.apache.solr:solr-core
CVE-2022-46769 Vulnerability in maven package org.apache.sling:org.apache.sling.cms.ui
CVE-2012-0391 Vulnerability in maven package com.opensymphony:xwork-core