PT-2025-25284 · Onlyoffice · Onlyoffice Docs

Published

2025-02-14

·

Updated

2025-12-06

·

CVE-2025-5301

CVSS v2.0

6.4

Medium

VectorAV:N/AC:L/Au:N/C:P/I:P/A:N
Name of the Vulnerable Software and Affected Versions ONLYOFFICE Docs (DocumentServer) versions 8.3.1 and earlier
Description ONLYOFFICE Docs (DocumentServer) is susceptible to a reflected cross-site scripting (XSS) issue when handling files through the WOPI protocol. An attacker can inject malicious scripts by sending specially crafted HTTP POST requests. These requests are then reflected in the server’s HTML response, potentially allowing for the execution of arbitrary code in the context of a user’s browser. The issue stems from a lack of proper sanitization of the web page structure.
Recommendations ONLYOFFICE Docs (DocumentServer) versions prior to 8.3.1 are affected. Update ONLYOFFICE Docs (DocumentServer) to a version later than 8.3.1.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-06823
CVE-2025-5301

Affected Products

Onlyoffice Docs