Reflected Cross-Site Scripting in ONLYOFFICE Docs (DocumentServer)
CVE-2025-5301Published 12 Jun 2025, 07:59 UTC
Real-world risk
2.1/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.1
scored by CISA, CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from SEC-VLab)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| ONLYOFFICE DocsNiche | <=8.3.1 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T4: Weaponized (× 1.00)
A Metasploit module, a Nuclei template, or a verified Exploit-DB entry
EPSS 62.8% chance of exploitation in 30 days (percentile 99), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.700
- Threat T4: Weaponized1.000
- 10 × impact 0.3 × prerequisites 0.7 × threat 12.100
- Rounded to one decimal between 0.1 and 102.1
Exploitation and evidence timeline
- 12 Jun 2025 Published
- 3 Dec 2026 Nuclei scanner template first seen
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 2.1 (cvss fallback)
Weakness
CWE-79
References
- https://r.sec-consult.com/onlyofficethird-party-advisory
- https://github.com/ONLYOFFICE/DocumentServer/blob/master/CHANGELOG.md#832release-notes
- https://sec-consult.com/vulnerability-lab/advisory/reflected-cross-site-scripting-in-onlyoffice-docs-documentserver/exploit
- http://seclists.org/fulldisclosure/2025/Jun/18
- CVE-2025-5301 on CVE.org