# CVE-2025-5301: Reflected Cross-Site Scripting in ONLYOFFICE Docs (DocumentServer)

- Severity: Medium 6.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 62.8%, higher than 99% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-12T07:59:05.650Z
- Modified: 2026-06-17T09:47:38.483Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: SEC-VLab

## 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.

(As written by CVE List.)

## Affected

- OnlyOffice Docs (DocumentServer): <=8.3.1

## References

- <https://sec-consult.com/vulnerability-lab/advisory/reflected-cross-site-scripting-in-onlyoffice-docs-documentserver/> (exploit)
- <https://r.sec-consult.com/onlyoffice> (third-party-advisory)
- <https://github.com/ONLYOFFICE/DocumentServer/blob/master/CHANGELOG.md#832> (release-notes)
- <http://seclists.org/fulldisclosure/2025/Jun/18>

## Sources

- CVE List: [CVE-2025-5301](https://www.cve.org/CVERecord?id=CVE-2025-5301), CVE Terms of Use, modified 2025-06-18
- NVD: [CVE-2025-5301](https://nvd.nist.gov/vuln/detail/CVE-2025-5301), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-5301 · Whole record: https://cve.day/CVE-2025-5301.json · Rebuilt by cve.day 2026-11-25T22:58:59.161Z
