A cross-site scripting vulnerability exists in Jenkins 2.132 and earlier, 2.121.1 and earlier in BuildTimelineWidget.java, BuildTimelineWidget/control.jelly that allows attackers with Job/Configure permission to define JavaScript that would be executed in another user's browser when that other user performs some UI actions.
https://www.oracle.com/security-alerts/cpuapr2022.html
https://jenkins.io/security/advisory/2018-07-18/#SECURITY-944