{"cve":"CVE-2019-19729","nvd":{"published":"2019-12-11T20:15:11.100","modified":"2026-06-17T02:27:09.200","status":"Modified","description":"An issue was discovered in the BSON ObjectID (aka bson-objectid) package 1.3.0 for Node.js. ObjectID() allows an attacker to generate a malformed objectid by inserting an additional property to the user-input, because bson-objectid will return early if it detects _bsontype==ObjectID in the user-input object. As a result, objects in arbitrary forms can bypass formatting if they have a valid bsontype.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-670"],"references":["https://github.com/williamkapke/bson-objectid/issues/30","https://www.npmjs.com/package/bson-objectid","https://github.com/williamkapke/bson-objectid/issues/30","https://www.npmjs.com/package/bson-objectid"],"products":["bson-objectid_project:bson-objectid"],"source":"nvd","synced_at":"2026-10-19T20:59:27.069234358+00:00"},"epss":{"cve":"CVE-2019-19729","score":0.01085,"percentile":0.65246,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-p84x-5xx8-hff9","url":"https://osv.dev/vulnerability/GHSA-p84x-5xx8-hff9","summary":"bson-objectid contains Improper input validation","modified":"2023-11-08T04:01:29.349649Z","packages":[{"ecosystem":"npm","name":"bson-objectid","purl":"pkg:npm/bson-objectid","ranges":["<=1.3.0"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}