Jenkins Publish Over SSH Plugin 1.22 and earlier does not escape the SSH server name, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Overall/Administer permission.
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-23110
- https://www.jenkins.io/security/advisory/2022-01-12/#SECURITY-2287
- http://www.openwall.com/lists/oss-security/2022/01/12/6
- https://github.com/jenkinsci/publish-over-ssh-plugin/releases/tag/publish-over-ssh-1.23
- https://github.com/advisories/GHSA-fjpm-hf7c-xgc2