CVE-2024-53388
JavaScript vulnerability analysis and mitigation

Overview

A DOM Clobbering vulnerability was discovered in mavo version 0.3.2, identified as CVE-2024-53388. The vulnerability was reported on March 3, 2025, and allows attackers to execute arbitrary code by supplying a crafted HTML element (NVD, CVE).

Technical details

The vulnerability exists in Mavo's plugin-loading mechanism which uses document.currentScript to set the base URL for loading dependencies. The implementation is susceptible to DOM Clobbering attacks where document.currentScript lookup can be shadowed by attacker-injected non-script HTML elements through the browser's named DOM access mechanism. This manipulation allows an attacker to replace intended script elements with an array of attacker-controlled scriptless HTML elements, enabling arbitrary script loading from the attacker's controlled domain. The vulnerability has received a CVSS 3.1 Base Score of 8.8 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (GitHub POC).

Impact

The vulnerability allows attackers to execute arbitrary code through DOM Clobbering, potentially leading to cross-site scripting (XSS) in web pages where scriptless attacker-controlled HTML elements are present. Given Mavo's usage in various web applications, this vulnerability poses a significant security risk (GitHub POC).

Mitigation and workarounds

The recommended mitigation involves adding an additional type check to ensure that document.currentScript references only script elements. The suggested patch includes verifying the tagName property: 'let base = document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT' ? document.currentScript.src : location' (GitHub POC).

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-2026-23744CRITICAL9.8
  • JavaScriptJavaScript
  • @mcpjam/inspector
NoYesJan 16, 2026
CVE-2026-23735HIGH8.7
  • JavaScriptJavaScript
  • graphql-modules
NoYesJan 16, 2026
GHSA-gw32-9rmw-qwwwHIGH8.4
  • JavaScriptJavaScript
  • svelte
NoYesJan 16, 2026
CVE-2026-23745HIGH8.2
  • JavaScriptJavaScript
  • argo-workflows-fips-3.6
NoYesJan 16, 2026
GHSA-38cw-85xc-xr9xMEDIUM6.8
  • JavaScriptJavaScript
  • @veramo/data-store
NoYesJan 16, 2026

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