CVE-2024-55659
Homebrew vulnerability analysis and mitigation

Overview

SiYuan, a personal knowledge management system, was found to contain a critical vulnerability (CVE-2024-55659) in versions prior to 3.1.16. The vulnerability was discovered in the /api/asset/upload endpoint, which was susceptible to both arbitrary file write to the host and stored cross-site scripting (XSS) attacks via the file write functionality. The issue was disclosed on December 11, 2024, and has been patched in version 3.1.16 (GitHub Advisory).

Technical details

The vulnerability affects the /api/asset/upload endpoint in SiYuan's system. The issue was assigned a CVSS v4.0 Base Score of 8.7 (HIGH) with the vector string CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N. The vulnerability is classified under two CWE categories: CWE-79 (Improper Neutralization of Input During Web Page Generation) and CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) (NVD).

Impact

The vulnerability allows attackers to perform arbitrary file writes to the host system and execute stored cross-site scripting attacks through the file write functionality. This combination of vulnerabilities could potentially lead to system compromise and unauthorized access to sensitive information (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in SiYuan version 3.1.16. Users are strongly advised to upgrade to this version or later to protect against these security issues. The fix includes improved path validation and input sanitization (GitHub Commit).

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-58360CRITICAL9.8
  • JavaJava
  • org.geoserver.web:gs-web-app
NoYesNov 25, 2025
CVE-2025-65085HIGH8.4
  • NixOSNixOS
  • cobalt
NoNoNov 25, 2025
CVE-2025-65084HIGH8.4
  • NixOSNixOS
  • argon
NoNoNov 25, 2025
CVE-2025-59789HIGH7.5
  • HomebrewHomebrew
  • brpc
NoYesDec 01, 2025
CVE-2025-64761HIGH7.5
  • WolfiWolfi
  • openbao
NoYesNov 25, 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