Description
A cross-site scripting vulnerability exists in Jenkins 2.132 and earlier, 2.121.1 and earlier in the Stapler web framework's org/kohsuke/stapler/Stapler.java that allows attackers with the ability to control the existence of some URLs in Jenkins to define JavaScript that would be executed in another user's browser when that other user views HTTP 404 error pages while Stapler debug mode is enabled.
Remediation
References
https://jenkins.io/security/advisory/2018-07-18/#SECURITY-390
https://www.oracle.com/security-alerts/cpuapr2022.html
Related Vulnerabilities
CVE-2016-3084 Vulnerability in maven package org.cloudfoundry.identity:cloudfoundry-identity-server
CVE-2017-9805 Vulnerability in maven package org.apache.struts:struts2-core
CVE-2019-8331 Vulnerability in maven package org.webjars.bowergithub.twbs:bootstrap
CVE-2018-1999039 Vulnerability in maven package org.jenkins-ci.plugins:confluence-publisher
CVE-2022-2218 Vulnerability in maven package org.webjars.npm:parse-url