Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege MongoDB write credentials
-
DeliveryInject crafted script into database metadata field
-
ExploitVictim triggers report generation via Transition Readiness Tool
-
ExecutionVictim opens generated HTML report in browser
-
PersistInjected script executes in victim browser context
-
ImpactReport contents exposed or display manipulated
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 the attacker to hold a MongoDB account with write access to at least one database or collection whose metadata is ingested by the report tool - this is the primary limiting condition established by the PR:L CVSS metric. A separate, distinct victim user must then use the BI Connector Transition Readiness Report tool to generate a report covering that database and must open the resulting HTML file in a browser (UI:A). Exploitation is further constrained to environments where the Transition Readiness Report tool is actively in use, which is typically limited to migration-project contexts rather than steady-state production operations. There is no exploitation path against users who do not open the generated HTML output, and the vulnerability does not affect MongoDB server integrity or availability directly. |
| Impact | The CVSS 4.0 base score of 4.8 (Medium) reflects the realistic constraint profile: PR:L confirms that write-level MongoDB access is a prerequisite, and UI:A confirms the victim must actively open the generated report - two meaningful barriers that reduce automated exploitability. Impact is bounded at VC:L and VI:L with no availability impact and no subsequent-system impact (SC/SI/SA all N), consistent with a sandboxed report-viewer scenario. EPSS data was not provided in the input, so exploitation probability cannot be quantified numerically; however, the absence of a KEV listing and the absence of any referenced POC suggest opportunistic or targeted exploitation is not currently observed at scale. The attack is not automatable in the SSVC sense: it requires a cooperative victim to open the report. The stored nature of the XSS elevates it slightly above a purely reflected variant - an attacker does not need to trick the victim into clicking a crafted URL, only into running the standard report workflow. Overall, this warrants remediation on a normal patch cycle rather than emergency response; organizations where multiple MongoDB users with differing trust levels share access to this tooling should prioritize the fix. |
| Exploit ScenarioDerived | An attacker holding a low-privilege MongoDB account with write access inserts a crafted JavaScript payload into a database collection name, field name, or other metadata field ingested by the report generator. When a target user - such as a DBA or migration analyst - runs the Transition Readiness Report tool and opens the resulting HTML file in a browser, the unencoded metadata is rendered as executable script, allowing the attacker to read the report's contents (potentially exposing schema or credential hints) or silently alter the displayed migration readiness data. No public proof-of-concept code was referenced in the input, but the attack primitive is a well-understood stored XSS pattern requiring no specialized tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 28, 2026
Stored cross-site scripting in the MongoDB BI Connector Transition Readiness Report tool allows a low-privileged MongoDB user with write access to inject malicious script payloads into database metadata. When a second user generates and opens the resulting HTML report, the embedded scripts execute in their browser context, potentially exposing report contents or manipulating the displayed output. No public exploit code or active exploitation via CISA KEV has been identified at time of analysis, but the stored delivery model increases reachability beyond typical reflected-XSS scenarios.
RemediationAI
Consult the MongoDB SQL interface changelog at https://www.mongodb.com/docs/sql-interface/changelog/ for any released patch or updated version of the BI Connector Transition Readiness Report tool; no exact fix version was independently confirmed from the available input data, so the patch status should be verified directly with the vendor. As a compensating control where upgrade is not immediately possible, restrict MongoDB write access to the minimum set of trusted users who genuinely require it, reducing the pool of principals capable of injecting crafted metadata. Additionally, treat generated HTML reports as untrusted output and open them only in isolated browser profiles or sandboxed environments rather than in a standard authenticated browser session, which limits the blast radius of any script execution to that sandbox. Note that metadata-level input sanitization at the database level is not a reliable substitute for output encoding at report generation time.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is identified by CPE cpe:2.3:a:mongodb:bi_connector_transition_readiness_report as the MongoDB BI Connector Transition Readiness Report tool - a utility designed to help operators assess migration readiness from MongoDB BI Connector's SQL interface. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically a stored XSS variant: database metadata controlled by one authenticated MongoDB user is read back and rendered into a generated HTML report without adequate output encoding. Because HTML is generated from data at rest rather than from a live HTTP request, the injection persists until a separate victim user triggers report generation and opens the file. The vulnerability is independent of any web server stack - the report is produced as a local or downloaded HTML file.
Know when MongoDB 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Stored XSS requires authenticated write access (PR:L) and victim report-viewing (UI:R); scope changes as payload executes cross-user in browser.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
1DescriptionCVE.org
MongoSQL Transition Readiness Tool does not sufficiently encode database metadata before including it in generated HTML. A MongoDB user with write access can introduce crafted metadata that may cause script code to run when another user generates and opens the report, potentially exposing report contents or altering its display.
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.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa
The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a
The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regul
Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's
The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to
Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e
EUVD-2026-67873
GHSA-xpfg-hqpq-mf5g
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB