{"id":"CVE-2025-5301","aliases":["EUVD-2025-18164","GHSA-r5fg-8fjv-3w9h"],"status":"published","title":"Reflected Cross-Site Scripting in ONLYOFFICE Docs (DocumentServer)","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.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-11","score":0.62699,"percentile":0.99206,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2025-06-12T07:59:05Z","modified":"2026-10-28T02:30:48Z","exploits":[{"source":"nuclei","id":"CVE-2025-5301","title":"ONLYOFFICE Docs (DocumentServer) - Reflected Cross-Site Scripting","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-5301.yaml"}],"products":[{"vendor":"onlyoffice","product":"docs (documentserver)"}],"references":[{"url":"https://r.sec-consult.com/onlyoffice","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/ONLYOFFICE/DocumentServer/blob/master/CHANGELOG.md#832","tags":["release-notes","advisory"]},{"url":"https://sec-consult.com/vulnerability-lab/advisory/reflected-cross-site-scripting-in-onlyoffice-docs-documentserver/","tags":["exploit","evidence"]},{"url":"http://seclists.org/fulldisclosure/2025/Jun/18","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5301","tags":["advisory"]},{"url":"https://sec-consult.com/vulnerability-lab/advisory/reflected-cross-site-scripting-in-onlyoffice-docs-documentserver"},{"url":"https://github.com/advisories/GHSA-r5fg-8fjv-3w9h"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5301.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2025-5301","title":"Reflected Cross-Site Scripting in ONLYOFFICE Docs (DocumentServer)","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.","status":"published","published":"2025-06-12T07:59:05.65Z","modified":"2025-06-18T04:08:26.144Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:32:29.97618Z"}],"euvd":[{"id":"EUVD-2025-18164","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.","status":"published","published":"2025-06-12T07:59:05Z","modified":"2025-06-18T04:08:26Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:32:20.512078Z"}],"ghsa":[{"id":"GHSA-r5fg-8fjv-3w9h","title":"ONLYOFFICE Docs (DocumentServer) in versions equal and below 8.3.1 are affected by a reflected...","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.","status":"published","published":"2025-06-12T09:30:32Z","modified":"2025-06-18T06:31:37Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:02:45.097525Z"}],"nvd":[{"id":"CVE-2025-5301","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.","status":"published","published":"2025-06-12T08:15:23.603Z","modified":"2026-06-17T09:47:38.483Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:11:11.789448Z"}],"osv":[{"id":"CVE-2025-5301","title":"Reflected Cross-Site Scripting in ONLYOFFICE Docs (DocumentServer)","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.","status":"published","published":"2025-06-12T07:59:05.65Z","modified":"2026-10-28T02:30:48.958518201Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:50.45326Z"}]}}
