Skip to content
InertPDF
A sheet passing through four amber gates

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

Inside a PDF A PDF is a collection of objects. Some draw the page (text, fonts, images); others can act: forms, buttons, JavaScript, attachments.

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 button or a QR code leading to a fake sign-in page Clicking the button, or scanning the QR code with a phone, leads to a page that imitates a familiar sign-in. Credentials entered there go to the attacker.

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.

A form that sends the data you enter The form fields are filled in inside the document; the submit button sends them to an address chosen by whoever wrote the PDF.

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.

A file built to exploit a flaw in the reader The reader interprets the file's data to draw the page. A crafted value spills out of the space set aside in memory, and the reader ends up running the attacker's code, with no click at all.

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.
How InertPDF opens the same file The file is read in an isolated process that is denied the network, your files and programs. Addresses found are shown without being opened, and the page is drawn from a copy rewritten after the checks.

How InertPDF checks a file when you open it

Sources

  1. Microsoft Security Blog, 3 April 2025: «Threat actors leverage tax season to deploy tax-themed phishing campaigns»
  2. Adobe, Acrobat security warnings (external connections, JavaScript) — helpx.adobe.com/acrobat/desktop/protect-documents/mitigate-security-risks/warning-triggers.html
  3. Adobe, security bulletin APSB23-34 (CVE-2023-26369), 12 September 2023 — helpx.adobe.com/security/products/acrobat/apsb23-34.html