CVE-2026-113870 MongoDB Compass - Stored XSS

MongoDB Compass contains a stored XSS caused by improper escaping of BSON values in view aggregation pipelines, letting attackers execute arbitrary code with user privileges when opening a specially crafted view.

CVSS base score 8.8 /10
High
CISA KEV
Not listed
Public exploit
None known
Authentication
Not required
View the NVD record ↗

Details

Type
Stored XSS
Impact
Client Script Exec
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
21 October 2026
Updated
22 October 2026
Weakness
CWE-116

Vendor fix

Update to the latest version of MongoDB Compass where this issue is fixed.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

References

← All CVEs