Description
Jenkins 2.270 through 2.393 (both inclusive), LTS 2.277.1 through 2.375.3 (both inclusive) does not escape the Jenkins version a plugin depends on when rendering the error message stating its incompatibility with the current version of Jenkins, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to provide plugins to the configured update sites and have this message shown by Jenkins instances.
Remediation
References
https://www.jenkins.io/security/advisory/2023-03-08/#SECURITY-3037
Related Vulnerabilities
CVE-2019-1003042 Vulnerability in maven package org.6wind.jenkins:lockable-resources
CVE-2022-36091 Vulnerability in maven package org.xwiki.platform:xwiki-platform-web-templates
CVE-2021-22114 Vulnerability in maven package org.springframework.integration:spring-integration-zip
CVE-2023-27602 Vulnerability in maven package org.apache.linkis:linkis-dist
CVE-2016-6810 Vulnerability in maven package org.apache.activemq:activemq-web-console