Skip to content

Commit

Permalink
Merge pull request #1535 from BlueBrain/fix-react-pdf-vulnerability
Browse files Browse the repository at this point in the history
fix react-pdf security vuln
  • Loading branch information
bilalesi authored May 11, 2024
2 parents e18e42f + 932637c commit 0438681
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shared/components/Preview/PDFPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const PDFThumbnail = ({
file={url}
onLoadError={console.error}
renderMode="svg"
options={{ isEvalSupported: false }}
>
<Page
className="pdf-thumbnail-page"
Expand Down

0 comments on commit 0438681

Please sign in to comment.