The f:validateButton form control for the Jenkins UI did not properly escape job URLs in Jenkins 2.171 and earlier and Jenkins LTS 2.164.1 and earlier, resulting in a cross-site scripting (XSS) vulnerability exploitable by users with the ability to control job names.
https://www.oracle.com/security-alerts/cpuapr2022.html
https://jenkins.io/security/advisory/2019-04-10/#SECURITY-1327