The save_idml_file() function uses ZipFile.extractall() without validating archive member paths. This may allow path traversal (Zip Slip) if a malicious IDML file is supplied via --inputfile.
We should ensure extracted files remain inside the intended directory before writing them to disk.
The save_idml_file() function uses ZipFile.extractall() without validating archive member paths. This may allow path traversal (Zip Slip) if a malicious IDML file is supplied via --inputfile.
We should ensure extracted files remain inside the intended directory before writing them to disk.