Skip to main content
Mallory
UnratedVulnerability

CVE-2026-16633: Cross-site scripting in Mozilla PDF.js and ngx-extended-pdf-viewer

Updated 2 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS-Not scored
EPSS-30-day exploit probability
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
IdentifiersCVE-2026-16633CWE-79

CVE-2026-16633 is a client-side JavaScript execution vulnerability in Mozilla PDF.js, distributed through pdfjs-dist and bundled into ngx-extended-pdf-viewer. Opening a malicious PDF can execute attacker-controlled JavaScript in the hosting application's origin. The XFA processing path contains improper character encoding in escapePDFName and incorrect surrogate-pair handling in encodeToXmlString. Missing zero-padding for encoded control characters and mishandling of BMP non-characters can alter serialized output, bypass sanitization, and permit script injection. Exposure includes XFA rich-text processing when enableXfa is enabled and a separate sandbox-related path when enableScripting is enabled, subject to Content Security Policy restrictions. Affected ngx-extended-pdf-viewer releases range from 27.0.0-rc.0 through versions before 29.0.0-rc.3.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation permits arbitrary JavaScript execution in the victim's browser under the hosting application's origin. An attacker can access JavaScript-readable session cookies, local storage, application data, and API credentials exposed to that browser context, and issue authenticated application or internal API requests with the victim's permissions. This can compromise session confidentiality and application integrity. The described execution is browser-side and does not establish native or server-side code execution.

Mitigation

If you can’t patch tonight, do this now.

Where upgrades cannot be applied immediately, disable XFA parsing by setting pdfDefaultOptions.enableXfa = false if XFA forms are unnecessary. Disable enableScripting to reduce exposure through the scripting-related path. These settings address distinct paths; disabling scripting alone should not be assumed to eliminate XFA exposure. Enforce a restrictive Content Security Policy that blocks inline and other unauthorized script execution.

Remediation

Patch, then assume compromise.

Upgrade pdfjs-dist to version 6.2.108 or later. Applications using ngx-extended-pdf-viewer should upgrade to version 29.0.0-rc.3 or later, which incorporates the PDF.js fixes into both stable and bleeding-edge engines. Update bundled viewer dependencies rather than assuming that upgrading a separately installed pdfjs-dist package replaces an embedded PDF.js fork.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

Frequently asked questions

Is CVE-2026-16633 exploited in the wild?
As of Nov 19, 2026, Mallory has no reports of CVE-2026-16633 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-16633?
As of Nov 19, 2026, Mallory has found no public exploit for CVE-2026-16633.
Is there a patch for CVE-2026-16633?
Upgrade pdfjs-dist to version 6.2.108 or later. Applications using ngx-extended-pdf-viewer should upgrade to version 29.0.0-rc.3 or later, which incorporates the PDF.js fixes into both stable and bleeding-edge engines.
Activity feed

Recent activity

8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity4Community discussion across Reddit, Mastodon, and other social sources.