cpdf
cpdf copied to clipboard
Does not escape filenames
You do not appear to be escaping your filenames and then your pass the values to shell=True, which will likely lead to an exploit AFAICT. :+1:
Hi @lamby,
Thanks for opening the issue. Could you elaborate a bit more?
Thanks!
Stale. closing due to lack of response.
Ah, you do a check and print " Input file contains invalid characters such ". However, did you consider just using shlex.quote and not relying on validation? :)