The issue arises from missing permission checks in the Jenkins MATLAB Plugin, allowing attackers to have Jenkins parse an XML file from the Jenkins controller file system. Specifically, the plugin determines whether a user-specified directory on the Jenkins controller is the location of a MATLAB installation by parsing an XML file in that directory. The plugin does not perform permission checks in several HTTP endpoints implementing related form validation, and these endpoints do not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability. Furthermore, the plugin does not configure its XML parser to prevent XML external entity (XXE) attacks, allowing attackers to extract secrets from the Jenkins controller or perform server-side request forgery.