Skip to main content

BharatMLStack Trufflebox EUVDEUVD-2026-78940

| CVE-2026-39040 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-09-15 mitre GHSA-fxfm-5rjr-qjh3
5.4
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege UI user
  2. Delivery
    Inject script payload into expression field
  3. Exploit
    Store in ExpressionViewModal-rendered data
  4. Execution
    Victim opens expression view modal
  5. Persist
    Script executes in victim browser
  6. Impact
    Hijack session or act as victim

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

Requires an authenticated low-privilege account on the BharatMLStack Trufflebox UI (trufflebox-ui) and a victim who subsequently opens the affected ExpressionViewModal component, which renders attacker-controlled expression content without adequate sanitization. Exploitation is limited by: (1) authentication - the attacker must already have valid low-privilege access (PR:L); (2) user interaction - a separate victim must load/view the malicious expression in the modal (UI:R); and (3) deployment footprint - only affects self-hosted BharatMLStack instances at version 1.3.0 or earlier running the Trufflebox web UI. Impact is confined to the victim's browser context (session/data within the web app), not the underlying host.

Impact

This is a moderate-severity stored/reflected XSS (CVSS 3.1 5.4) in the Trufflebox UI web frontend of BharatMLStack. The CVSS vector (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) tells a consistent story: network-reachable, low complexity, but requiring an authenticated low-privilege account (PR:L) AND victim interaction (UI:R, a victim must open the affected ExpressionViewModal). The scope change (S:C) reflects that injected script executes in a victim's browser context, but confidentiality and integrity impact are only Low and availability is None - this is not an RCE or data-wholesale-exfil class bug. EPSS is very low at 0.15% (5th percentile), it is NOT on CISA KEV, and there is no confirmed public exploit code (a third-party security writeup exists but is not itself weaponized PoC). All signals align: exploitation status is 'no public exploit identified at time of analysis', probability of widespread exploitation is low, and the twin gating factors of authentication plus required user interaction further reduce real-world risk. This is a legitimate bug to patch but a low operational priority - not a high-CVSS-but-hidden-critical situation. No signals are strongly conflicting; the main caveat is that CPE and affected-version data are 'n/a' in the feeds, so exact version boundaries beyond '<=1.3.0' are not machine-confirmed.

Exploit ScenarioDerived

An attacker with a low-privileged authenticated account in the Trufflebox UI injects a malicious script payload into an expression field that is later rendered by ExpressionViewModal.jsx. When another user (e.g. an admin or teammate) opens that expression's view modal, the script executes in their browser session, enabling session/token theft or actions on their behalf. A third-party security writeup describing the flaw is public, but no confirmed weaponized exploit code was identified; exploitation requires both a valid account and the victim opening the modal.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 21, 2026

Cross-site scripting in the Trufflebox UI (trufflebox-ui) of BharatMLStack up to and including 1.3.0 allows an authenticated low-privilege user to plant script-bearing expression content that executes in a separate victim's browser session when the ExpressionViewModal component renders it. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, score 5.4) describes a moderate-severity issue that requires an existing account plus a victim who opens the malicious expression, and that stays confined to the victim's browser context rather than the underlying host. Exploitation is not confirmed active - there is no CISA KEV entry and no public exploit code identified at time of analysis - and EPSS is low at 0.15% (5th percentile), making this a realistic but opportunistic risk for self-hosted deployments running the Trufflebox web frontend.

RemediationAI

No vendor-released patch was identified at time of analysis, so remediation is currently compensating-control driven. The most direct fix is to apply upstream sanitization in ExpressionViewModal.jsx - render expression content as plain text or HTML-escape it, and remove any raw HTML injection such as dangerouslySetInnerHTML - while tracking the BharatMLStack repository at https://github.com/Meesho/BharatMLStack for the release carrying that change, with the writeup at https://github.com/wincr4ck/security-advisories/blob/main/bharatmlstack-cve-writeup.md and the NVD entry at https://nvd.nist.gov/vuln/detail/CVE-2026-39040 as tracking references. Until a fix is available, deploy a strict Content-Security-Policy on the Trufflebox UI that disallows inline and third-party script, which blocks payload execution but may break the UI if it relies on inline scripts, so stage it in report-only mode first; and restrict expression creation/editing to fully trusted operators, since the attack requires a low-privileged authenticated account (trade-off: reduces collaboration functionality in that component only). Keep the Trufflebox UI off the public internet or behind an authenticated reverse proxy/VPN to shrink the pool of reachable victims, and treat expression content from untrusted users as hostile. None of these controls removes the need for the code fix, and lowering user privileges does not stop a stored payload from firing when a higher-privileged user opens the modal.

Affected VersionsENISA

n/a n/a

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

The flaw is CWE-79 (improper neutralization of input during web page generation), the classic cross-site scripting class in which user-supplied data reaches the DOM without adequate escaping or sanitization. The vulnerable surface is the React/JSX component ExpressionViewModal.jsx inside the Trufflebox UI (trufflebox-ui) of BharatMLStack, Meesho's open-source machine-learning platform; the modal renders attacker-influenced expression content directly instead of treating it as inert text (for example via unescaped HTML injection such as dangerouslySetInnerHTML), letting markup and script execute in the viewer's browser. The CVSS vector shows network reachability (AV:N), low attack complexity (AC:L), and importantly a Scope change (S:C) with low confidentiality and integrity impact but no availability impact - the hallmark of client-side script execution in the web application's security context, where session tokens or in-app data can be read or altered without affecting the host OS. The authentication prerequisite (PR:L) and user-interaction requirement (UI:R) mean a low-privileged authenticated account is needed to persist or deliver the payload, and a distinct victim must then load the affected modal for the script to run. The supplied CPE string is unresolved (cpe:2.3:a:n/a:n/a:*:*:*:*:*:*:*:*) and the EUVD affected-version entry is listed as "n/a", so exact version mapping depends on the vendor project rather than automated CPE matching.

Know when JavaScript 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

Vendor (mitre) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Web XSS reachable over the network with low complexity, but needs a low-priv authenticated account (PR:L) and victim viewing the modal (UI:R); script escaping into the browser is a scope change (S:C) with Low C/I and no availability impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
CVSS changed
Sep 21, 2026 - 17:22 NVD
5.4 (MEDIUM)
CVE Published
Sep 15, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

BharatMLStack up to and including 1.3.0 is vulnerable to Cross Site Scripting (XSS) via the component Trufflebox UI (trufflebox-ui) in ExpressionViewModal.jsx.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
niche open-source ML feature-store/platform stack, limited production footprint
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2026-102827 CRITICAL POC
9.8 Sep 29

Command injection in simple-git, the Node.js library for running git commands and published on npm, affects all releases

CVE-2026-77615 HIGH POC
8.7 Sep 17

Stored DOM-based cross-site scripting in Paella Player's closed-caption rendering path (paella-core before 2.12.11) allo

CVE-2026-92776 HIGH POC
8.6 Sep 16

Authorization bypass in Wiki.js through 2.5.314 allows an authenticated user who has been granted access to at least one

CVE-2026-102826 HIGH POC
8.1 Sep 29

Untrusted git configuration includes reachable through simple-git before 4.0.0 let an attacker execute arbitrary command

CVE-2026-85715 HIGH POC
7.5 Sep 17

Improper memory allocation control in ExifReader before 4.41.1 allows remote attackers to exhaust heap memory and termin

CVE-2026-102278 HIGH POC
7.5 Sep 28

Deeply nested brace patterns cause unbounded recursion in the npm brace-expansion library, exhausting the native stack a

CVE-2026-102276 HIGH POC
7.5 Sep 28

Stack exhaustion in the npm library brace-expansion (all versions prior to 1.1.19, 2.1.5, 3.0.7, and 5.0.10) lets a craf

CVE-2026-44265 HIGH POC
7.4 Nov 03

Code injection in Elo's programmatic AST API (npm @enspirit/elo) through version 1.0.0 allows an integrator who populate

CVE-2026-92775 HIGH POC
7.1 Sep 16

Server-side request forgery in Wiki.js through 2.5.314 lets an authenticated user who holds page-editing permissions for

CVE-2026-101910 MEDIUM POC
6.9 Sep 28

The JavaScript library ip-address (npm) fails to treat the NAT64 local-use prefix 64:ff9b:1::/48 as private, so applicat

CVE-2026-101914 MEDIUM POC
6.5 Sep 28

Authorization bypass in the @grpc/grpc-js-xds package (the xDS/RBAC extension for @grpc/grpc-js) lets a request for one

CVE-2026-101912 MEDIUM POC
6.3 Sep 28

Cross-family subnet comparisons in the ip-address npm library (all versions before 10.7.1) can cause isInSubnet and isHo

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy