CVE-2025-5301: Reflected Cross-Site Scripting in ONLYOFFICE Docs (DocumentServer)
Published Jun 12, 2025
·Updated
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
1 affected component
Onlyoffice Docs (DocumentServer)<=8.3.1
Remediation
Information
The vendor provides a patched version v8.3.2 (or higher) which can be downloaded from:
https://github.com/ONLYOFFICE/DocumentServer/
Event History
Jun 12, 2025
CVE Published
via MITRE·07:59 AM
Data Sourced
via MITRE·07:59 AM
RemedyDescriptionWeakness
Data Sourced
via NVD·08:15 AM
DescriptionSeverityWeakness
May 20, 57433
Event
via FIRST·02:53 PM
Frequently Asked Questions
1
What is the severity of CVE-2025-5301?
CVE-2025-5301 is rated as a high severity reflected XSS vulnerability.
2
How do I fix CVE-2025-5301?
To fix CVE-2025-5301, upgrade ONLYOFFICE Docs (DocumentServer) to version 8.3.2 or later.
3
What versions are affected by CVE-2025-5301?
CVE-2025-5301 affects ONLYOFFICE Docs (DocumentServer) versions 8.3.1 and below.
4
What type of vulnerability is CVE-2025-5301?
CVE-2025-5301 is a reflected cross-site scripting (XSS) vulnerability.
5
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.