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)

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.624 (99.2th percentile), scored .

High probability of exploitation in the next 30 days — patch promptly. 99th percentile — 99.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2025-5301: rose from 0.455 to 0.624.

EPSS over last 30 days · oldest: 0.455 · newest: 0.624 · change: +0.169

Affected products

Weakness classification (CWE)

References

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.