DocumentUltimate icon indicating copy to clipboard operation
DocumentUltimate copied to clipboard

Is there an option to disable scripts in PDFs?

Open jamietwells opened this issue 3 months ago • 1 comments

Uploaded PDFs that contain malicious JavaScript will run that JavaScript when viewing the document, possibly making the containing website vulnerable to cross site scripting. Is there an option to disable scripts, and if not can one be added?

jamietwells avatar Sep 16 '25 10:09 jamietwells

Yes it's possible but the option is not exposed in DocumentViewer. In the next version we will add it as an option.

GleamTech avatar Oct 27 '25 13:10 GleamTech