Description
Jenkins 2.227 and earlier, LTS 2.204.5 and earlier does not properly escape node labels that are shown in the form validation for label expressions on job configuration pages, resulting in a stored XSS vulnerability exploitable by users able to define node labels.
Remediation
References
https://jenkins.io/security/advisory/2020-03-25/#SECURITY-1781
http://www.openwall.com/lists/oss-security/2020/03/25/2
Related Vulnerabilities
CVE-2008-6504 Vulnerability in maven package org.apache.struts:struts2-core
CVE-2023-30527 Vulnerability in maven package org.jenkins-ci.plugins:wso2id-oauth
CVE-2020-1724 Vulnerability in maven package org.keycloak:keycloak-services
CVE-2022-36886 Vulnerability in maven package org.jenkins-ci.plugins:external-monitor-job