Vulnerability DatabaseGHSA-cfqx-f43m-vfh7

GHSA-cfqx-f43m-vfh7
JavaScript vulnerability analysis and mitigation

Overview

A directory traversal vulnerability was discovered in @saltcorn/server versions up to 1.0.0-beta.13, tracked as GHSA-cfqx-f43m-vfh7. The vulnerability allows users with admin permissions to read arbitrary file and directory names on the filesystem by exploiting an improperly validated builddirname parameter in the admin/build-mobile-app/result endpoint (GitHub Advisory).

Technical details

The vulnerability exists in the /build-mobile-app/result endpoint where the builddirname parameter from the query string is not properly validated before being used to construct the buildDir path. This path is then used in a readdirSync() call, allowing directory traversal through path manipulation. The vulnerability has been assigned a CVSS v3.1 score of 4.9 (Moderate) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N, indicating network attack vector, low complexity, high privileges required, and potential for high confidentiality impact (GitHub Advisory).

Impact

The vulnerability results in information disclosure, allowing authenticated administrators to view arbitrary file and directory names on the filesystem. However, the impact is limited as it only allows viewing file and directory names without the ability to download or access the actual content of the files (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 1.0.0-beta.14. The fix involves resolving the buildDir path and validating that it starts with ${rootFolder.location}/mobile_app before processing the request. Users should upgrade to version 1.0.0-beta.14 or later to address this vulnerability (GitHub Advisory, Saltcorn 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-55182CRITICAL10
  • JavaScriptJavaScript
  • react-server-dom-webpack
NoYesDec 03, 2025
CVE-2025-66032HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesDec 03, 2025
CVE-2025-66412HIGH8.5
  • JavaScriptJavaScript
  • @angular/compiler
NoYesDec 01, 2025
CVE-2025-66415MEDIUM6.9
  • JavaScriptJavaScript
  • @fastify/reply-from
NoYesDec 01, 2025
CVE-2025-66404MEDIUM6.4
  • JavaScriptJavaScript
  • mcp-server-kubernetes
NoYesDec 03, 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