CVE-2024-56331
JavaScript vulnerability analysis and mitigation

Overview

Uptime Kuma, an open source, self-hosted monitoring tool, was found to contain an Improper URL Handling Vulnerability (CVE-2024-56331) that was disclosed on December 20, 2024. The vulnerability allows authenticated attackers to access sensitive local files on the server by exploiting the file:/// protocol through the "real-browser" request type functionality. This security issue has been addressed in version 1.23.16 and 2.0.0-beta.1 (GitHub Advisory).

Technical details

The vulnerability stems from insufficient validation of user input in the URL field. When using the "real-browser" request type, which takes screenshots of provided URLs, the system fails to properly validate or sanitize URLs containing the file:/// protocol. The browser instance processes these URLs without restriction, allowing access to local system files. The vulnerability has been assigned a CVSS v3.1 score of 6.8 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N (GitHub Advisory).

Impact

The vulnerability enables authenticated attackers to access and potentially exfiltrate sensitive system files through screenshots. Critical files that could be exposed include /etc/passwd (user account information), /etc/shadow (password hashes), application configuration files, and database credentials stored in /app/data/config.json. Any authenticated user with access to the "real-browser" request type functionality could potentially exploit this vulnerability (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Uptime Kuma version 1.23.16 and 2.0.0-beta.1. The fix includes implementing proper URL validation to only allow HTTP and HTTPS protocols. Users are strongly advised to upgrade to these or newer versions. There are no known workarounds for this vulnerability (GitHub Advisory, GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65959HIGH8.7
  • JavaScriptJavaScript
  • open-webui
NoYesDec 04, 2025
CVE-2025-66032HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesDec 03, 2025
CVE-2025-65945HIGH7.5
  • JavaScriptJavaScript
  • jws
NoYesDec 04, 2025
CVE-2025-66404MEDIUM6.4
  • JavaScriptJavaScript
  • mcp-server-kubernetes
NoYesDec 03, 2025
CVE-2025-66479LOW1.8
  • JavaScriptJavaScript
  • @anthropic-ai/sandbox-runtime
NoYesDec 04, 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