CVE-2019-2391
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2019-2391) affects MongoDB Inc.'s js-bson library version 1.1.3 and prior versions. The issue involves incorrect parsing of certain JSON input that may result in js-bson not correctly serializing BSON, potentially leading to unexpected application behavior including data disclosure (NVD, CVE Mitre).

Technical details

The vulnerability stems from an issue with BSON serialization when handling invalid _bsontype values. The issue was originally reported by user @xiaofen9 and was subsequently addressed in version 1.1.4 of the bson module (GitHub Release).

Impact

The vulnerability can result in unexpected application behavior and potential data disclosure when processing certain JSON inputs (NVD).

Mitigation and workarounds

The vulnerability has been fixed in js-bson version 1.1.4. MongoDB recommends that all users pin their version of the bson module to 1.1.4 or higher to address this security issue (GitHub Release).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22610HIGH8.5
  • JavaScriptJavaScript
  • angular.js
NoYesJan 10, 2026
CVE-2026-22595HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22594HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22596MEDIUM6.7
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22597LOW2
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management