A flaw was found in the Jenkins credentials plugin. The Jenkins credentials plugin does not escape the name and description of Credentials parameters on views displaying parameters. This issue results in a stored Cross-site scripting (XSS) vulnerability exploitable by attackers with Item/Configure permission.
Credentials Plugin 2.3.18 and earlier does not escape user-controlled information on a view it provides. This results in a reflected cross-site scripting (XSS) vulnerability. Credentials Plugin 2.3.19 restricts the user-controlled information it provides to a safe subset.
References:
https://www.jenkins.io/security/advisory/2021-05-11/
Jenkins Credentials Plugin 2.1.18 and earlier allowed users with permission to create or update credentials to confirm the existence of files on the Jenkins master with an attacker-specified path, and obtain the certificate content of files containing a PKCS#12 certificate.