Wiz Agents & Workflows are here

CVE-2022-24229
ONLYOFFICE DocumentServer vulnerability analysis and mitigation

Overview

A cross-site scripting (XSS) vulnerability was discovered in ONLYOFFICE Document Server Example before version 7.0.0. The vulnerability allows remote attackers to inject arbitrary HTML or JavaScript code through the /example/editor endpoint. The issue was identified and assigned CVE-2022-24229, with disclosure occurring in January 2022 (GitHub Issue).

Technical details

The vulnerability exists in several parameters of the '/example/editor' path, specifically affecting the 'action', 'type', and 'lang' parameters. When these parameters receive malicious input, they fail to properly sanitize the data, allowing for the execution of arbitrary JavaScript code. The vulnerability has been assigned a CVSS v3.1 base score of 6.1 (MEDIUM) with the vector string: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (NVD).

Impact

The successful exploitation of this vulnerability could allow attackers to execute arbitrary JavaScript code in the context of the victim's browser session. This could potentially lead to theft of sensitive information, session hijacking, or other client-side attacks when users access the affected /example/editor endpoint.

Mitigation and workarounds

The vulnerability was fixed in ONLYOFFICE Document Server version 7.0.0. Users running affected versions should upgrade to version 7.0.0 or later to mitigate this security risk. As a temporary workaround, it is recommended to close or disable the test example in Document Server if not required (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related ONLYOFFICE DocumentServer vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-46988MEDIUM6.7
  • ONLYOFFICE DocumentServerONLYOFFICE DocumentServer
  • cpe:2.3:a:onlyoffice:document_server
NoYesApr 01, 2025
CVE-2025-68917MEDIUM6.4
  • ONLYOFFICE DocumentServerONLYOFFICE DocumentServer
  • cpe:2.3:a:onlyoffice:document_server
NoYesDec 24, 2025
CVE-2025-68936MEDIUM6.1
  • ONLYOFFICE DocumentServerONLYOFFICE DocumentServer
  • cpe:2.3:a:onlyoffice:document_server
NoYesDec 25, 2025
CVE-2025-68935MEDIUM6.1
  • ONLYOFFICE DocumentServerONLYOFFICE DocumentServer
  • cpe:2.3:a:onlyoffice:document_server
NoYesDec 25, 2025
CVE-2023-50883MEDIUM6.1
  • ONLYOFFICE DocumentServerONLYOFFICE DocumentServer
  • cpe:2.3:a:onlyoffice:document_server
NoYesSep 09, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management