CVE-2023-50883: XSS
ONLYOFFICE Docs before 8.0.1 allows XSS because a macro is an immediately-invoked function expression (IIFE), and therefore a sandbox escape is possible by directly calling the constructor of the Function object. NOTE: this issue exists because of an incorrect fix for CVE-2021-43446.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2023-50883?
CVE-2023-50883 has a high severity rating due to the potential for cross-site scripting (XSS) attacks.
How do I fix CVE-2023-50883?
To fix CVE-2023-50883, upgrade ONLYOFFICE Docs to version 8.0.1 or later.
What are the risks associated with CVE-2023-50883?
The risks associated with CVE-2023-50883 include the possibility of attackers executing malicious scripts in the context of a user's session.
Which versions of ONLYOFFICE Docs are affected by CVE-2023-50883?
CVE-2023-50883 affects ONLYOFFICE Docs versions prior to 8.0.1.
What is the root cause of CVE-2023-50883?
The root cause of CVE-2023-50883 is a flaw in the handling of macros as immediately-invoked function expressions that allows sandbox escape.