
Why a PDF can become a cyberattack vector
Invoices, contracts and signature requests often arrive as PDFs. If you’re expecting a contract, clicking ‘View document’ can feel as natural as opening the attachment. Attackers can exploit that habit, the interactive features of the format or a vulnerability in the software that opens the file.
Inside a PDF
The document can deceive its reader
A PDF with a supplier's logo and a "View contract" button can send the recipient to a fake sign-in page. If the victim enters their credentials, they hand them to whoever controls the site. An attack like this needs nothing more than a static page, without any embedded scripts.
In February 2025, attackers sent phishing emails to more than 2,300 organisations, according to Microsoft. The subject line asked recipients to sign documents. The message body was empty, and the attached PDF contained a QR code linking to a site associated with RaccoonO365, a phishing service used to imitate the Microsoft 365 sign-in page and steal credentials. Someone who scans a QR code on a work computer with a personal phone may continue on a device without the same safeguards. The destination address is also harder to check before opening it.
A PDF can contain interactive elements
Alongside text and images, a PDF can contain fillable forms, buttons, attachments and JavaScript. In a form, for example, a script can calculate an invoice total. A submit button, however, can send the details you’ve just entered to an attacker. The actions a PDF can perform depend on the reader and its security settings. If the reader asks for permission to connect to an external site, check whether that connection is necessary for what you’re doing.
Sometimes opening the file is enough
To display a page, a PDF reader processes the data that describes its text, fonts and images. If the reader is vulnerable, a specially crafted file can exploit the flaw as soon as it opens, before you click anything in the document. In 2023, Adobe reported that a vulnerability in Acrobat and Reader, CVE-2023-26369, had already been exploited in a limited number of attacks and could allow an attacker to run code of their choice.
The precautions that actually help
Keep your PDF reader up to date to get the available security fixes, and leave its security features enabled to limit what documents can do. If you receive an unexpected request to sign a document or sign in, go to the sender’s portal using an address you already know and check whether the request appears there. This matters even with an up-to-date reader. A page can display correctly and still contain a fraudulent request.
What InertPDF does
- Links and QR codes. When you open a PDF, InertPDF looks for links in the document and scans the first 40 pages for QR codes. It shows the addresses it finds without opening them, so you can check the destination before deciding whether to trust it.
- Interactive content. InertPDF does not run JavaScript embedded in the document. The check results identify buttons that submit data, commands that launch programs and attached files.
- Isolated processing. InertPDF reads the PDF in an isolated process that cannot connect to the internet, access your other files or launch programs. After the checks, the viewer displays the pages from a rewritten copy of the document.
Sources
- Microsoft Security Blog, 3 April 2025: «Threat actors leverage tax season to deploy tax-themed phishing campaigns»
- Adobe, Acrobat security warnings (external connections, JavaScript) — helpx.adobe.com/acrobat/desktop/protect-documents/mitigate-security-risks/warning-triggers.html
- Adobe, security bulletin APSB23-34 (CVE-2023-26369), 12 September 2023 — helpx.adobe.com/security/products/acrobat/apsb23-34.html