Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

ngx-extended-pdf-viewer bundles a version of pdf.js vulnerable to CVE-2026-16633

0
High
Published: 08/06/2026 (08/06/2026, 21:13:59 UTC)
Source: GCVE Database
Product: ngx-extended-pdf-viewer

Description

ngx-extended-pdf-viewer includes a forked version of Mozilla's pdf.js that is vulnerable to CVE-2026-16633. This vulnerability allows execution of attacker-controlled JavaScript when opening a malicious PDF, potentially impacting the hosting page. The default configuration reduces exposure compared to upstream pdf.js, but enabling XFA forms (enabled by default) still presents risk. A patch is available from version 29.0.0-rc.3, which backports the upstream fix. Workarounds include disabling XFA forms or applying a Content Security Policy to block inline scripts.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Affected software

npmghsa
ngx-extended-pdf-viewer
Affected versions
>=27.0.0-rc.0 <29.0.0-rc.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/07/2026, 06:26:32 UTC

Technical Analysis

ngx-extended-pdf-viewer bundles a fork of pdf.js that contains a vulnerability identified as CVE-2026-16633. This vulnerability enables execution of attacker-controlled JavaScript in the context of the hosting page when a malicious PDF is opened. The issue involves two parts: one related to sandboxing requiring enableScripting (disabled by default in ngx-extended-pdf-viewer), and another related to XFA rich text processing, which is enabled by default and can be exploited. The vulnerability is addressed in version 29.0.0-rc.3 by cherry-picking Mozilla's fix from pdf.js 6.2.108. The package now includes SBOM and VEX files to verify the fix. Workarounds include disabling XFA forms and enforcing a strict Content Security Policy.

Potential Impact

An attacker can execute arbitrary JavaScript within the context of the hosting page by tricking a user into opening a crafted malicious PDF. This can lead to high-impact client-side attacks such as cross-site scripting or data theft. The default configuration of ngx-extended-pdf-viewer reduces exposure by disabling scripting, but enabling XFA forms (default enabled) still exposes users to risk. There are no known exploits in the wild at this time.

Mitigation Recommendations

A patch is available starting with ngx-extended-pdf-viewer version 29.0.0-rc.3, which includes the upstream fix from pdf.js 6.2.108. Users should upgrade to this version or later to remediate the vulnerability. If upgrading is not immediately possible, mitigate risk by setting pdfDefaultOptions.enableXfa to false if XFA forms are not required, and/or enforce a Content Security Policy that disallows inline scripts. The package provides SBOM and VEX files from version 29.0.0 to verify the applied fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-w9hm-4m3m-fxmm
Osv Schema Version
1.4.0
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6a7573bebf8831d539d94386

Added to database: 08/07/2026, 05:57:18 UTC

Last enriched: 08/07/2026, 06:26:32 UTC

Last updated: 08/08/2026, 01:31:35 UTC

Views: 35

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses