Install
bson
A bson parser for node.js and the browser
7.3.4Latest, 5 Nov 2026
97MDownloads, last month
0Advisories on the latest
3Advisories, all versions
Apache-2.0Licence
1.2KStars
6.2/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| Moderate | Deserialization of Untrusted Data in bson CVE-2019-2391 | Fixed in 1.1.4 | 10 Feb 2022 |
| Critical | Deserialization of Untrusted Data in bson CVE-2020-7610 | Fixed in 1.1.4 | 7 May 2021 |
| High | js-bson vulnerable to REDoS CVE-2018-13863 | Fixed in 1.0.5 | 17 Sep 2018 |
In the news
- BSON to JSON: Efficient Data Conversion with Java dev.to, 2 Feb 2026
- From JSON to BSON: The Data Format MongoDB Actually Uses dev.to, 15 Jul 2025
- Typeorm throws a bson error in next.js app stackoverflow.com, 3 Dec 2024
- PyMongo: convertation BSON to Dict not working stackoverflow.com, 26 Nov 2024
- Cannot find type definition file for 'bson' issue in node 20.11.1 when trying to make a build stackoverflow.com, 15 Nov 2024
On Hacker News
- Mongo BSON Injection: Ruby Regexps Strike Again 128 points, 50 comments, 4 Jun 2015
- Show HN: BSON Extension for Postgres 115 points, 27 comments, 15 Jan 2024
- DocumentDB: BSON data type CRUD in PostgreSQL 31 points, 5 comments, 24 Jan 2025
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.