CVE-2025-5301

Public Exploit
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.

Remediation

Solution:

  • The vendor provides a patched version v8.3.2 (or higher) which can be downloaded from: https://github.com/ONLYOFFICE/DocumentServer/

Category

6.1
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.03%
Third-Party Advisory sec-consult.com
Affected: OnlyOffice Docs (DocumentServer)
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-5301?
CVE-2025-5301 has been scored as a medium severity vulnerability.
How to fix CVE-2025-5301?
To fix CVE-2025-5301: The vendor provides a patched version v8.3.2 (or higher) which can be downloaded from: https://github.com/ONLYOFFICE/DocumentServer/
Is CVE-2025-5301 being actively exploited in the wild?
It is possible that CVE-2025-5301 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-5301?
CVE-2025-5301 affects OnlyOffice Docs (DocumentServer).
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.