CVE-2025-66522 Foxit pdfonline.foxit.com Stored Cross-Site Scripting in Digital IDs Common Name Field
Attackers can inject malicious scripts via Digital IDs Common Name fields, leading to code execution or account takeover in Foxit PDF Editor Cloud.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-66522?
CVE-2025-66522 is a medium-severity cross-site scripting vulnerability in pdfonline.foxit.com, published on 19 Dec 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A stored cross-site scripting (XSS) vulnerability exists in the Digital IDs functionality of the Foxit PDF Editor Cloud (pdfonline.foxit.com). The application does not properly sanitize or encode the Common Name field of Digital IDs before inserting user-supplied content into the DOM. As a result, embedded HTML or JavaScript may execute whenever the Digital IDs dialog is accessed or when the affected PDF is loaded.
Weakness: CWE-79
Which versions are affected by CVE-2025-66522?
It affects 1 product.
Products include Foxit Pdf Editor Cloud.
How do I fix CVE-2025-66522?
No fix has been published for CVE-2025-66522 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-66522 being exploited?
There is no known exploitation of CVE-2025-66522 in the wild and no public exploit code.
Other vulnerabilities in pdfonline.foxit.com
- CVE-2026-1591 Stored XSS via Attachments Feature in https://pdfonline.foxit.com/
- CVE-2026-1592 Stored XSS via Create New Layer Field found in Foxit PDF Editor Cloud
- CVE-2025-66500 Foxit webplugins.foxit.com Stored Cross-Site Scripting via postMessage Vulnerability
- CVE-2025-66501 Foxit pdfonline.foxit.com Stored Cross-Site Scripting in eSign Predefined Text Feature
- CVE-2025-66502 Foxit pdfonline.foxit.com Stored Cross-Site Scripting in Page Templates Feature
Sources
Also known as GHSA-5mp6-372v-5m92.