Jenkins Build-Publisher Plugin 1.22 and earlier allows attackers with Item/Configure permission to create or replace any config.xml file on the Jenkins controller file system by providing a crafted file name to an API endpoint.
https://github.com/advisories/GHSA-jrqh-c9v8-ccx9
https://www.jenkins.io/security/advisory/2022-09-21/#SECURITY-2139