FixVibe

// code / spotlight

PDF.js JavaScript Execution Advisory

A vulnerable PDF viewer can turn a malicious document into script execution.

Der Köder

PDF viewers often sit in document workflows that handle invoices, contracts, resumes, uploads, and support attachments. When PDF.js is in the affected range, rendering a malicious PDF can execute attacker-controlled JavaScript in the hosting page's origin.

So funktioniert's

The repo check looks for `pdfjs-dist` in npm dependency files and lockfiles. Exact lockfile versions produce high-confidence findings; broad package.json ranges are reported when they clearly allow PDF.js releases up to and including 4.1.392.

Die Auswirkungen

If an app renders untrusted PDFs with the vulnerable runtime, attacker-controlled script may run in the browser context that hosts the viewer. Depending on the page, that can expose session data, document content, tenant metadata, or actions available to the signed-in user.

// was fixvibe prĂŒft

Was FixVibe prĂŒft

FixVibe repo scans look for high-confidence security patterns and dependency risk in source context. Reports identify the affected area and recommended fix. For check-specific questions about exact detection heuristics, active payload details, or source-code rule patterns, contact support@fixvibe.app.

Wasserdichte Verteidigung

Upgrade `pdfjs-dist` to 4.2.67 or newer, regenerate the active lockfile, and rebuild every PDF viewer bundle and worker asset. If untrusted PDFs must be rendered before the upgrade rolls out, use `isEvalSupported: false` where compatible as temporary defense-in-depth.

// lass es auf deiner eigenen App laufen

Ship weiter, wÀhrend FixVibe mitwacht.

FixVibe testet die öffentliche OberflĂ€che deiner App so unter Druck, wie ein Angreifer es tun wĂŒrde — ohne Agent, ohne Installation, ohne Karte. Wir recherchieren laufend neue Schwachstellenmuster und machen daraus praktische Checks und kopierfertige Fixes fĂŒr Cursor, Claude und Copilot.

Quellcode
116
Tests in dieser Kategorie
Module
76
dedizierte quellcode-PrĂŒfungen
pro Scan
487+
Tests ĂŒber alle Kategorien
  • Kostenlos — keine Karte, keine Installation, kein Slack-Ping
  • Einfach URL einfĂŒgen — wir crawlen, prĂŒfen und reporten
  • Findings nach Schweregrad sortiert, auf Signal dedupliziert
  • AI-ready prompts where code applies, plus operator steps for DNS/provider fixes
Kostenlosen Scan starten →

// aktuelle Checks · praktische Fixes · mit Vertrauen shippen

PDF.js JavaScript Execution Advisory — Vulnerability-Spotlight | FixVibe · FixVibe