CVE-2026-39040 Details
Description
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.
A stored cross-site scripting vulnerability has been identified in BharatMLStack versions up to and including 1.3.0. The issue resides within the Trufflebox UI component, specifically in the ExpressionViewModal.jsx file. This vulnerability allows for the injection of malicious scripts that are executed in the context of the user's browser.
The vulnerability can be addressed by sanitizing the InfixExpression before rendering it in the ExpressionViewModal. This can be done using a library like DOMPurify to clean the input and remove any harmful scripts or HTML.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 15, 2026CISA-ADP
Assessed Sep 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Meesho/BharatMLStack | [email protected] | ProductVendor |
| https://github.com/wincr4ck/security-advisories/blob/main/bharatmlstack-cve-writeup.md | [email protected] | BundleExploitRemedyTechnical Analysis |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| Meesho BharatMLStack | <= 1.3.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 21, 2026 | CVE Modified | CISA-ADP |
| Sep 15, 2026 | New CVE Received | [email protected] |
Volerion