How to prevent execution of embedded JS via OpenActions in the react-pdf v9? #2012
Unanswered
uttejcorpay
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Recently i upgraded my company's project's react-pdf to v9 to resolve this security advisory. Though we have resolved the issue with latest version, there is a strange behavior i observed. When i upload a PDF that contains a basic (alert()) script embedded via OpenActions and when isEvalSupported:false passed to options on Document, i could still able to see the alert being executed after the upload.
Did i miss anything here?
Beta Was this translation helpful? Give feedback.
All reactions