CVE-2025-5301
Reflected Cross-Site Scripting in ONLYOFFICE Docs (DocumentServer)
Description
ONLYOFFICE Docs (DocumentServer) in versions equal and below 8.3.1 are affected by a reflected cross-site scripting (XSS) issue when opening files via the WOPI protocol. Attackers could inject malicious scripts via crafted HTTP POST requests, which are then reflected in the server's HTML response.
In plain language
AI Low urgencyONLYOFFICE Docs 8.3.1 and earlier can be tricked into running harmful code in a user’s browser when opening a prepared file through its web file-opening connection; most small businesses should schedule the available update.
Reflected XSS in ONLYOFFICE Docs (DocumentServer) via crafted HTTP POST requests when files are opened through WOPI, causing attacker-supplied script to be reflected in an HTML response.
What to do now
- Check whether you run ONLYOFFICE Docs and use its WOPI web file-opening connection.
- Upgrade ONLYOFFICE Docs to v8.3.2 or higher.
- Until upgraded, limit access to the WOPI connection and warn users not to open unexpected shared files.
CVSS Vector Breakdown
AV:NAttack VectorAC:LAttack ComplexityPR:NPrivileges RequiredUI:RUser InteractionS:CScopeC:LConfidentialityI:LIntegrityA:NAvailabilityWeaknesses
Affected Products
Exploitability
Attack Graph
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
2 techniquesReferences
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-5301 and every CVE in our database. Create a free account — no credit card required.
Create Free Account