{"id":"CVE-2025-5301","published":"2025-06-12T07:59:05Z","modified":"2025-06-18T04:08:26Z","title":"Reflected Cross-Site Scripting in ONLYOFFICE Docs (DocumentServer)","vendor":"OnlyOffice","product":"Docs (DocumentServer)","tier":"core","eol":null,"affectedVersions":[{"vendor":"OnlyOffice","product":"Docs (DocumentServer)","versions":["<=8.3.1"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The reflected cross-site scripting flaw lives in ONLYOFFICE Docs (DocumentServer) in versions up to and including 8.3.1, where the server reflects unsanitised input from crafted HTTP POST requests into its HTML response when files are opened via the WOPI protocol. An attacker who can get a victim to interact with a crafted request (network-reachable, no authentication required, but requiring user interaction) could inject and execute malicious scripts in the victim's browser session.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:13:33Z"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.62356,"percentile":0.99184,"date":"2026-10-31","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":null,"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://r.sec-consult.com/onlyoffice","tags":["third-party-advisory"]},{"url":"https://github.com/ONLYOFFICE/DocumentServer/blob/master/CHANGELOG.md#832","tags":["release-notes"]},{"url":"https://sec-consult.com/vulnerability-lab/advisory/reflected-cross-site-scripting-in-onlyoffice-docs-documentserver/","tags":["exploit"]},{"url":"http://seclists.org/fulldisclosure/2025/Jun/18","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2025-18164","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-18164","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2025-5301","name":"ONLYOFFICE Docs (DocumentServer) - Reflected Cross-Site Scripting","severity":"medium","path":"http/cves/2025/CVE-2025-5301.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-5301.yaml"}],"provenance":"source"},"exploitRefs":["https://sec-consult.com/vulnerability-lab/advisory/reflected-cross-site-scripting-in-onlyoffice-docs-documentserver/"],"flow":[],"timeline":[{"date":"2025-06-12","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2025-5301","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":29.1,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.84,"detail":"percentile 0.9918"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD reference tagged Exploit; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":4.27,"detail":"base score 6.1"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}