Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Low

DOM XSS in Apryse WebViewer via remote uiConfig (CVE-2025-70402)

IdentifiersCVE-2025-70402CWE-79

CVE-2025-70402 is described as a critical DOM-based cross-site scripting vulnerability in Apryse WebViewer (formerly PDFTron) where the uiConfig query parameter is trusted as a remote URL, fetched, parsed as JSON, and applied to the WebViewer UI. A malicious value in a uiConfig field (described as a “glyph” field) is propagated into a React component (Icon.js) and rendered via dangerouslySetInnerHTML without sanitization, enabling script execution in the context of the WebViewer origin. The disclosure notes an SVG <foreignObject> technique to achieve script execution as a bypass despite DOMParser behavior when handling image/svg+xml.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

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

Successful exploitation results in arbitrary JavaScript execution in the victim’s browser within the security context of the affected WebViewer deployment. The source material claims this was leveraged in at least one client proof-of-value engagement to achieve one-click account takeover (i.e., session/token theft or equivalent account compromise via XSS).

Mitigation

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

Until patched, restrict or disable remote uiConfig loading (do not allow uiConfig to reference arbitrary remote URLs). Enforce a strict Content Security Policy (CSP) appropriate for the deployment to reduce XSS exploitability, and validate/allowlist any configuration sources and fields before applying them to the UI.

Remediation

Patch, then assume compromise.

Apply Apryse-provided patches/updates that address CVE-2025-70402 by removing/locking down remote uiConfig loading and/or ensuring untrusted uiConfig-derived fields are not rendered with dangerouslySetInnerHTML without robust sanitization. Ensure the vulnerable UI rendering path (Icon.js) no longer inserts attacker-controlled markup.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

What this page doesn’t show

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, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity

Community discussion across Reddit, Mastodon, and other social sources.