XSS in Onlyoffice Docs (Documentserver)
CVE-2025-5301
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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.379 (98.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Onlyoffice Docs (Documentserver) — versions <=8.3.1
Weakness classification (CWE)
References
- 551230f0-3615-47bd-b7cc-93e92e730bbf (third-party-advisory)
- 551230f0-3615-47bd-b7cc-93e92e730bbf (release-notes)
- af854a3a-2127-422b-91ae-364da2661108
- 134c704f-9b21-4f2e-91b3-4a467353bcc0
Frequently asked questions
- What is CVE-2025-5301?
- CVE-2025-5301 is a medium-severity vulnerability in Onlyoffice Docs (Documentserver), classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2025-06-12.
- How severe is CVE-2025-5301?
- Medium severity. CVSS v3 base score is 6.1 out of 10.