The vulnerability lies in the unsafe parsing of YAML files, specifically MLmodel artifacts, using the yaml.load function in the MLflow web interface. This function is known to be unsafe as it can execute arbitrary JavaScript code embedded within the YAML document. An attacker can upload a malicious MLmodel file containing a JavaScript payload. When another user views this artifact in the UI, the yaml.load function is called, executing the payload in the context of the victim's browser. This can lead to session hijacking, data theft, or performing actions on behalf of the user. The patch addresses this by replacing all instances of yaml.load with the safer yaml.safeLoad function, which only parses the YAML structure without executing any code. The analysis of the provided commit clearly shows two locations in the frontend code where this unsafe parsing occurs, within the ShowArtifactLoggedModelView component and the useValidateLoggedModelSignature hook.