CVE-2025-5301: Reflected Cross-Site Scripting in ONLYOFFICE Docs (DocumentServer)
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ONLYOFFICE Docs (DocumentServer)to a version that resolves this vulnerability.Fixed in 8.3.2
Event History
Frequently Asked Questions
What is the severity of CVE-2025-5301?
CVE-2025-5301 is rated as a high severity reflected XSS vulnerability.
How do I fix CVE-2025-5301?
To fix CVE-2025-5301, upgrade ONLYOFFICE Docs (DocumentServer) to version 8.3.2 or later.
What versions are affected by CVE-2025-5301?
CVE-2025-5301 affects ONLYOFFICE Docs (DocumentServer) versions 8.3.1 and below.
What type of vulnerability is CVE-2025-5301?
CVE-2025-5301 is a reflected cross-site scripting (XSS) vulnerability.
What is the impact of exploiting CVE-2025-5301?
Exploiting CVE-2025-5301 can allow attackers to inject and execute malicious scripts on user browsers.