Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAchieve JavaScript execution on Trufflebox UI page
-
ExploitRead JWT/user/session from localStorage
-
ExecutionExfiltrate token to attacker endpoint
-
ImpactReplay token to impersonate authenticated user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a co-existing JavaScript-execution vector (a separate XSS flaw, malicious/compromised script, or extension) on the Trufflebox UI, because the weakness itself is only that the JWT, full user object, and session ID are placed in browser localStorage - which is readable by any script on the page but not by a remote attacker without such script access. The victim must also be an authenticated user with a live session (so tokens are present in storage). This dependency on a second flaw is what limits real-world risk and is reflected in the CVSS AC:H; there is no standalone remote-unauthenticated path, no public exploit, and no KEV listing. |
| Impact | This is a low-priority, defense-in-depth weakness rather than a directly exploitable flaw. The CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N = 5.3 Medium) correctly reflects high attack complexity (AC:H): storing JWT tokens, the full user object, and session ID in browser localStorage is only harmful if a SEPARATE cross-site scripting vulnerability exists to run attacker JavaScript on the page and read that storage. The description names no injection point, so on its own this weakness cannot be exploited - it amplifies the impact of any co-existing XSS. Corroborating low-urgency signals: EPSS is 0.19% (8th percentile), there is no CISA KEV listing, and no public exploit code is referenced. Confidentiality is rated High (C:H) because a stolen token equals full account/session takeover, but that outcome is gated behind a second flaw. Note a labeling inconsistency: the assigned CWE-79 (XSS) does not match the described behavior, which is insecure client-side storage of sensitive data (CWE-922) - verify categorization with the vendor. Overall: high-CVSS-confidentiality but low real-world risk absent a chained XSS. |
| Exploit ScenarioDerived | An attacker who has already achieved JavaScript execution on a Trufflebox UI page (via a separate stored or reflected XSS, malicious dependency, or compromised third-party script) reads the victim's JWT, user object, and session ID directly from localStorage and exfiltrates them. With the stolen token the attacker impersonates the authenticated user against the BharatMLStack backend. No public exploit code is identified at time of analysis, and the CVSS AC:H reflects the dependency on a separate script-execution primitive. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 22, 2026
The Trufflebox web UI shipped with BharatMLStack (up to and including v1.3.0) stores the JWT authentication token, the complete user object, and the session ID in browser localStorage, where they are readable by any JavaScript that runs on the page. This is a low-priority, defense-in-depth weakness rather than a directly exploitable flaw: a remote attacker cannot reach localStorage on its own, so practical exploitation requires a co-existing script-execution vector - a separate XSS flaw, a malicious or compromised third-party script, or a browser extension - plus an authenticated victim with a live session. There is no public exploit code, no CISA KEV listing, and EPSS is only 0.19% (8th percentile), and no vendor-released patched version has been identified at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis, so teams should treat v1.3.0 and earlier Trufflebox UI builds as needing compensating controls. The preferred fix is to stop persisting credentials in localStorage and instead have the backend issue session cookies marked HttpOnly, Secure, and SameSite=Strict (or Lax where cross-site navigation demands it), or hold the JWT in memory only with short expiry and silent refresh - the trade-off being that cookie-based sessions reintroduce CSRF exposure that must be closed with per-request CSRF tokens, while in-memory storage logs users out on refresh. Where the UI cannot be reworked immediately, deploy a strict Content-Security-Policy (script-src with nonces or hashes, no unsafe-inline, no unsafe-eval, object-src 'none', base-uri 'self') to make injected script execution far harder; expect this to break third-party tags, analytics, and any inline event handlers until they are migrated. Additionally reduce token lifetime and enforce server-side session revocation and rotation so that any exfiltrated JWT or session ID has a narrow window of usefulness, restrict or self-host third-party scripts to limit supply-chain exposure, and instruct users to run the Trufflebox UI without untrusted browser extensions on privileged accounts. Monitor upstream at https://github.com/Meesho/BharatMLStack and the NVD entry at https://nvd.nist.gov/vuln/detail/CVE-2026-39039 for a patched release before assuming the issue is resolved.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
LocalStorage is a same-origin browser storage API with no equivalent of the httpOnly cookie flag: by design, every script executing in the page's origin can read it, and values persist until explicitly cleared. Storing a JWT, the full user object, and the session ID there means the security of those secrets collapses onto the integrity of every script the page loads, including bundled dependencies and browser extensions. The NVD CVSS vector (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N) and the assigned CWE-79 reflect the XSS dependency framing, while the underlying root-cause class is closer to CWE-922 (insecure storage of sensitive information) - the weakness is placement of credentials in a script-readable store, not the injection mechanism itself. The authoritative assessment scores PR:N/AC:H because the attacker needs no privileges of their own but must first obtain script execution in the Trufflebox origin and the victim must hold an authenticated session, which is exactly what the High attack-complexity metric captures. The provided CPE string is an unpopulated placeholder (n/a:n/a), so version scope must be taken from the description and EUVD record: all BharatMLStack releases through v1.3.0.
Know when N A gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
AC:H because token theft requires a separate script-execution flaw; PR:N since the reader need not be privileged; C:H as a stolen token yields full session takeover; I:N/A:N as no integrity or availability impact is described.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
In BharatMLStack up to and including v1.3.0, Trufflebox UI stores the JWT authentication token, full user object, and session ID in the browser's localStorage, which is fully accessible to any JavaScript running on the page.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-78941
GHSA-g88j-h94f-r5jp
NVD
CVE.org
EPSS
Exploit-DB