CVE-2025-5301
MediumPublic exploitONLYOFFICE 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.
Published Jun 12, 2025 · Updated Aug 12, 2026
Key Facts
Patch immediately- CVE-2025-5301 is a medium-severity vulnerability (CVSS 6.1 v3.1) affecting Docs (DocumentServer).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 62% probability of exploitation in the next 30 days.
- No fixed version is listed yet; check the vendor advisory for mitigations.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS (30-day exploit likelihood)
62%
Higher than 99.1% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2025-5301 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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.
Affected Products
1 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Docs (DocumentServer) | >= <=8.3.1 | n/a |
Timeline
Publicly disclosed
Jun 12, 2025
Last updated
Aug 12, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5301.json
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2025-5301
- otherhttp://seclists.org/fulldisclosure/2025/Jun/18
- otherhttps://github.com/ONLYOFFICE/DocumentServer/blob/master/CHANGELOG.md#832
- otherhttps://r.sec-consult.com/onlyoffice
FAQ
Common Questions.
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.
Affected: Docs (DocumentServer) versions >= <=8.3.1. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
No fixed version is listed yet; check the vendor advisory for mitigations.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2025-5301 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo