CVE-2024-44085
Homebrew vulnerability analysis and mitigation

Overview

ONLYOFFICE Docs before version 8.1.0 contains a Cross-Site Scripting (XSS) vulnerability that allows attackers to execute arbitrary JavaScript code via a GeneratorFunction Object attack against a macro. This vulnerability exists due to an incorrect fix for previous vulnerabilities CVE-2021-43446 and CVE-2023-50883, and is related to the use of an immediately-invoked function expression (IIFE) for a macro (NIST NVD, SySS Advisory).

Technical details

The vulnerability stems from improper sandboxing and sanitizing of user input in the macro function. Macros are defined as immediately invoked function expressions (IIFE) in the form (function(){})(). While the application attempts to sandbox the IIFE using JavaScript's eval() function, the sandbox can be escaped by directly calling the constructor of the GeneratorFunction object. This object executes in the global scope, thereby bypassing the local scope restrictions of the sandboxing method (SySS Advisory). The vulnerability has been assigned a CVSS v3.1 Base Score of 6.1 MEDIUM (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) (NIST NVD).

Impact

When successfully exploited, this vulnerability allows attackers to execute arbitrary JavaScript code in the context of the victim's session. This could potentially lead to theft of sensitive information, session hijacking, or other malicious actions within the user's browser context (SySS Advisory).

Mitigation and workarounds

The vulnerability has been fixed in ONLYOFFICE version 8.1.0. Organizations using affected versions should update to version 8.1.0 or later. Alternatively, administrators can remove or disable the macro plug-in feature as a temporary workaround (SySS Advisory).

Additional resources


SourceThis report was generated using AI

Related Homebrew vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66222CRITICAL9.6
  • HomebrewHomebrew
  • deepchat
NoNoDec 03, 2025
CVE-2025-12819HIGH8.1
  • NixOSNixOS
  • pgbouncer
NoYesDec 03, 2025
CVE-2025-59789HIGH7.5
  • HomebrewHomebrew
  • brpc
NoYesDec 01, 2025
CVE-2025-63317MEDIUM5.4
  • NixOSNixOS
  • todoist
NoNoDec 01, 2025
CVE-2025-65105MEDIUM5.3
  • NixOSNixOS
  • apptainer
NoYesDec 02, 2025

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