A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: fix CVE-2024-4367
Abdullah Attab502f6a08fba
diff --git a/apps/web/src/components/pdf-preview/index.tsx b/apps/web/src/components/pdf-preview/index.tsxindex 01b2961e8..270f87d5b 100644--- a/apps/web/src/components/pdf-preview/index.tsx+++ b/apps/web/src/components/pdf-preview/index.tsx@@ -239,6 +239,10 @@ export function PdfPreview(props: PdfPreviewProps) {onZoom={(e) => {if (hash) setPDFConfig(hash, { scale: e.scale });}}+ transformGetDocumentParams={(options) => {+ (options as any).isEvalSupported = false;+ return options;+ }}// onDocumentAskPassword={(e) => {// e.verifyPassword("failed");// }}