Skip to main content

BI Connector Report EUVDEUVD-2026-67778

| CVE-2026-76798 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-28 mongodb GHSA-5phg-fmwx-665v
6.9
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted SQL query with embedded script payload
  2. Delivery
    BI Connector logs query text verbatim
  3. Exploit
    Operator generates HTML report from affected logs
  4. Execution
    Operator opens report in browser
  5. Persist
    Injected script executes in operator session
  6. Impact
    Exfiltrate other users' query text and usernames to attacker endpoint

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

Two sequential, distinct conditions must both be satisfied for exploitation to succeed. First, the attacker must hold valid credentials permitting SQL query submission through the MongoDB BI Connector (PR:L); unauthenticated access to the BI Connector is not sufficient. Second, an operator must actively generate a MongoSQL Transition Readiness Tool HTML report that covers the log period containing the attacker's crafted query, and then open that report in a browser (UI:A) - the payload does not execute automatically at log-write time or at report-generation time, only upon browser rendering. Exploitation is further scoped to environments that actively run both the MongoDB BI Connector and the Transition Readiness Tool; organizations that have completed their migration and decommissioned the tool are not at risk. No non-default configuration of the BI Connector or the tool is required - the vulnerability arises from the tool's default log-to-HTML rendering behavior. The primary limiting factors for defenders are the PR:L credential requirement and the UI:A operator dependency, both of which significantly narrow the realistic attacker population.

Impact

The CVSS 4.0 score of 6.9 accurately reflects a real but structurally constrained risk profile. The AV:N metric confirms the injection vector is network-accessible via BI Connector query submission, while PR:L establishes that only authenticated users with query privileges can contribute payloads - unauthenticated exploitation is not possible. The UI:A metric is the most significant risk-limiting factor: a separate operator must both generate a report from logs containing the crafted query and then open that report in a browser; this two-step dependency substantially reduces the probability of accidental or automated triggering. The VC:H metric reflects genuine data-disclosure risk - other users' query text and usernames can be exfiltrated to attacker infrastructure. No EPSS data was provided in the source intelligence, no CISA KEV listing exists, and no public proof-of-concept has been identified, all of which lower real-world urgency below what CVSS alone might suggest. The VI:L integrity metric corresponds to the ability to render misleading content to the operator, a relevant social-engineering risk in an administrative reporting context. SSVC exploitation status is publicly unknown; the UI:A barrier means automated, scalable exploitation is not feasible, and the attack is better characterized as targeted insider or semi-insider abuse.

Exploit ScenarioDerived

An authenticated BI Connector user with low-level query privileges issues a crafted SQL query containing an embedded JavaScript payload - for example, a script block inside a string literal - that the BI Connector writes verbatim to its log. When a database administrator later runs the MongoSQL Transition Readiness Tool against those logs and opens the resulting HTML report in a standard browser, the payload executes in the administrator's browser context, silently sending all visible logged query text and usernames to an attacker-controlled endpoint via an HTTP beacon. No public exploit code has been identified at time of analysis, but the attack primitive is elementary given the nature of unsanitized log-to-HTML rendering.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 28, 2026

Stored cross-site scripting in MongoDB's MongoSQL Transition Readiness Tool allows any authenticated BI Connector query issuer to inject arbitrary HTML markup into operator-generated reports by embedding script payloads in query strings that the BI Connector logs verbatim. When an operator later generates an HTML report from affected logs and opens it in a browser, the injected markup executes, potentially disclosing other users' logged query text and usernames to attacker-controlled infrastructure or presenting spoofed content to the operator. No public exploit code has been identified and no CISA KEV listing exists at time of analysis; the required two-step operator interaction substantially limits opportunistic exploitation.

RemediationAI

Administrators should review the MongoDB SQL Interface changelog at https://www.mongodb.com/docs/sql-interface/changelog/ and upgrade the MongoSQL Transition Readiness Tool to the earliest version listed as addressing this issue. Because the CPE wildcard version (*) indicates no safe version has been independently confirmed from the provided input data, upgrade as soon as a fixed release is identified in the changelog. As a near-term compensating control, restrict BI Connector query access to trusted, known users only, thereby limiting which principals can inject content into logs; note that this may impact legitimate SQL BI workloads dependent on broader access. Additionally, operators should refrain from opening Transition Readiness Tool reports generated from logs that may contain untrusted query content until a patched version is deployed. Reports can be reviewed in a sandboxed or offline browser profile as a further precaution, reducing the blast radius of any inadvertent script execution.

Affected VersionsENISA

BI Connector Transition Readiness Report 1.0.0 <1.1.3

Affected Packages

euvd bi_connector_transition_readiness_report fix: 1.1.3

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 MongoSQL Transition Readiness Tool (CPE: cpe:2.3:a:mongodb:bi_connector_transition_readiness_report:*:*:*:*:*:*:*:*) is a reporting utility that reads MongoDB BI Connector log files and generates HTML-formatted migration-readiness assessments. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-Site Scripting): SQL query strings and usernames sourced from log entries are interpolated directly into HTML output without HTML-entity encoding, sanitization, or Content Security Policy constraints. Because the BI Connector captures SQL query text verbatim in its logs, any markup or JavaScript payload embedded within a query literal persists in the log file and is later rendered as live HTML when the operator opens the generated report. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:L/VA:N) confirms the network-accessible injection point through the BI Connector's SQL interface, the low-privilege requirement for query submission, and the mandatory active interaction from an operator to trigger the payload.

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

Vendor (mongodb) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 7.6 HIGH

Network injection via authenticated BI Connector query; scope change to operator's browser context where third-party query data is disclosed; UI:R reflects the mandatory operator report-open step; no availability impact.

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

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Aug 28, 2026 - 21:17 EUVD

DescriptionCVE.org

The MongoSQL Transition Readiness Tool writes query text and user names read from BI Connector log files into its generated HTML report without encoding them for that output context. A user able to issue queries through the BI Connector can influence log content so that markup supplied in a query is interpreted by the browser when an operator later generates and opens the report, which may disclose other users' logged query text and user names to an external party or present misleading content to the operator. Generating a report over logs containing the affected entries and opening that report in a browser is required.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
niche migration utility for MongoDB BI Connector deployments
Data Quality
5 sources
Confidence: Medium

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 Yes
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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
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-2013-1892 MEDIUM POC
6.0 Oct 01

MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo

CVE-2026-118383 CRITICAL POC
9.5 Nov 10

Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa

CVE-2013-3969 MEDIUM POC
6.5 Oct 01

The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a

CVE-2018-13863 HIGH POC
7.5 Jul 10

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

CVE-2026-25887 HIGH POC
7.2 Mar 06

Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut

CVE-2019-2386 HIGH POC
7.1 Aug 06

After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's

CVE-2012-6619 MEDIUM POC
6.4 Mar 06

The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to

CVE-2026-137498 CRITICAL
9.9 Nov 26

Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or

CVE-2026-129987 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong

CVE-2026-3431 CRITICAL
9.8 Mar 02

SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary

CVE-2024-8654 CRITICAL
9.8 Sep 10

MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle

CVE-2024-6376 CRITICAL
9.8 Jul 01

MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e

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