CVE-2025-5301 PUBLISHED

Reflected Cross-Site Scripting in ONLYOFFICE Docs (DocumentServer)

Assigner: SEC-VLab
Reserved: 28.05.2025 Published: 12.06.2025 Updated: 18.06.2025

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.

Product Status

Vendor OnlyOffice
Product Docs (DocumentServer)
Versions Default: unaffected
  • Version <=8.3.1 is affected

Solutions

The vendor provides a patched version v8.3.2 (or higher) which can be downloaded from:

https://github.com/ONLYOFFICE/DocumentServer/

Credits

  • Max Rull, SEC Consult Vulnerability Lab finder

References

Problem Types

  • CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') CWE

Impacts

  • CAPEC-591 Reflected XSS