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://www.jenkins.io/security/advisory/2022-09-21/#SECURITY-2139