{"id":"CVE-2025-5301","state":"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.","publishedAt":"2025-06-12T07:59:05.650Z","updatedAt":"2025-06-18T04:08:26.144Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"CISA-ADP"},"assigner":"SEC-VLab","products":["OnlyOffice Docs (DocumentServer)"],"affected":[{"vendor":"OnlyOffice","product":"Docs (DocumentServer)","defaultStatus":"unaffected","versions":[{"version":"<=8.3.1","status":"affected"}]}],"references":["https://r.sec-consult.com/onlyoffice","https://github.com/ONLYOFFICE/DocumentServer/blob/master/CHANGELOG.md#832","https://sec-consult.com/vulnerability-lab/advisory/reflected-cross-site-scripting-in-onlyoffice-docs-documentserver/","http://seclists.org/fulldisclosure/2025/Jun/18"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:09:39.787Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/5xxx/CVE-2025-5301.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-5301","state":"PUBLISHED","datePublished":"2025-06-12T07:59:05.650Z","dateUpdated":"2025-06-18T04:08:26.144Z","assignerShortName":"SEC-VLab","assignerOrgId":"551230f0-3615-47bd-b7cc-93e92e730bbf","dateReserved":"2025-05-28T09:59:37.753Z"},"containers":{"cna":{"title":"Reflected Cross-Site Scripting in ONLYOFFICE Docs (DocumentServer)","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"OnlyOffice","product":"Docs (DocumentServer)","defaultStatus":"unaffected","versions":[{"version":"<=8.3.1","status":"affected"}]}],"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"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"SEC-VLab","orgId":"551230f0-3615-47bd-b7cc-93e92e730bbf","dateUpdated":"2025-06-12T07:59:05.650Z"},"credits":[{"lang":"en","type":"finder","value":"Max Rull, SEC Consult Vulnerability Lab"}],"impacts":[{"capecId":"CAPEC-591","descriptions":[{"lang":"en","value":"CAPEC-591 Reflected XSS"}]}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>The vendor provides a patched version v8.3.2 (or higher) which can be downloaded from:</p><p><a target=\"_blank\" rel=\"nofollow\" href=\"https://github.com/ONLYOFFICE/DocumentServer/\">https://github.com/ONLYOFFICE/DocumentServer/</a>&nbsp;</p><br><br>"}],"value":"The vendor provides a patched version v8.3.2 (or higher) which can be downloaded from:\n\n https://github.com/ONLYOFFICE/DocumentServer/"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://sec-consult.com/vulnerability-lab/advisory/reflected-cross-site-scripting-in-onlyoffice-docs-documentserver/","tags":["exploit"]}],"metrics":[{"cvssV3_1":{"scope":"CHANGED","version":"3.1","baseScore":6.1,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","integrityImpact":"LOW","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-06-12T13:45:27.605229Z","id":"CVE-2025-5301","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-12T13:48:22.288Z"}},{"title":"CVE Program Container","references":[{"url":"http://seclists.org/fulldisclosure/2025/Jun/18"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-06-18T04:08:26.144Z"}}]}}}