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-2022-22984 Vulnerability in npm package snyk-docker-plugin
CVE-2023-40573 Vulnerability in maven package org.xwiki.platform:xwiki-platform-scheduler-api
CVE-2023-31417 Vulnerability in maven package org.elasticsearch:elasticsearch
CVE-2022-41376 Vulnerability in npm package metro4
CVE-2022-41932 Vulnerability in maven package org.xwiki.platform:xwiki-platform-oldcore