CVE-2026-39039

Published Sep 15, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

BharatMLStack’s Trufflebox UI stores the JWT authentication token, the full user object and the session ID in the browser’s localStorage. Because localStorage is accessible to any JavaScript executing in the page context, an attacker who can inject or otherwise run code on the site can read these secrets. The compromised credentials allow the attacker to impersonate the user, hijack the session, or perform unauthorized actions with the user’s privileges.

Affected Systems

BharatMLStack Trufflebox UI up to and including version 1.3.0 is affected. The vulnerability is limited to this product; no other vendors or products are listed as impacted.

Risk and Exploitability

Based on the description, it is inferred that the likely attack vector is a malicious script executed in the browser, such as via a reflected or stored cross‑site scripting vulnerability. The flaw is client‑side and requires a malicious script to run in the browser. The CVSS score of 5.3 indicates a medium‑severity impact, while the EPSS score of < 1% suggests a low probability of exploitation. The issue is not listed in the CISA KEV catalog, but the exposure of authentication data is concerning because any code execution on the page can read localStorage and obtain JWTs. Remediation should be treated as a priority to prevent credential theft and session hijack.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a BharatMLStack release that removes authentication data from localStorage or stores it in HttpOnly cookies
  • Deploy a strict Content Security Policy that limits script execution to trusted sources and disallows inline scripts
  • Sanitize or remove third‑party scripts and enforce server‑side input validation to mitigate cross‑site scripting

Generated by OpenCVE AI on September 22, 2026 at 21:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title LocalStorage Authentication Token Leakage in BharatMLStack Trufflebox UI
Weaknesses CWE-200
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Type Values Removed Values Added
Title LocalStorage Authentication Token Leakage in BharatMLStack Trufflebox UI
Weaknesses CWE-200
CWE-79
Type Values Removed Values Added
Title BharatMLStack Trufflebox UI Exposes JWT Tokens via LocalStorage
Weaknesses CWE-200
CWE-312
Type Values Removed Values Added
Title BharatMLStack Trufflebox UI Exposes JWT Tokens via LocalStorage
Weaknesses CWE-200
CWE-312
Type Values Removed Values Added
Description 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.
References

Subscriptions

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 22, 2026, 3:44 PM
Reserved
Apr 6, 2026, 12:00 AM
Status
Deferred
Published
Sep 15, 2026, 6:17 PM
Modified
Sep 22, 2026, 8:00 PM