{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-33171","published":"2022-07-04T16:15:08.757000Z","last_modified":"2026-06-17T04:48:32.313000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-89"],"cpes":[{"criteria":"cpe:2.3:a:typeorm:typeorm:*:*:*:*:*:node.js:*:*","part":"a","vendor":"typeorm","product":"typeorm","version_end_excluding":"0.3.0"}],"cpes_truncated":false,"vendors":["typeorm"],"products":["typeorm/typeorm"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.02004,"percentile":0.81472,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-fx4w-v43j-vc45","ecosystem":"npm","name":"typeorm","purl":"pkg:npm/typeorm","ranges":[{"introduced":"0","fixed":"0.3.0"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2022-33171/","html_en":"/en/cve/CVE-2022-33171/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-33171","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-33171"},"untrusted":{"vendor_name":"Typeorm","product_name":"Typeorm","desc_en":"The findOne function in TypeORM before 0.3.0 can either be supplied with a string or a FindOneOptions object. When input to the function is a user-controlled parsed JSON object, supplying a crafted FindOneOptions instead of an id string leads to SQL injection. NOTE: the vendor's position is that the user's application is responsible for input validation","affected":[],"references":[{"url":"http://packetstormsecurity.com/files/168096/TypeORM-0.3.7-Information-Disclosure.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://seclists.org/fulldisclosure/2022/Aug/7","tags":["Mailing List","Third Party Advisory"]},{"url":"https://github.com/typeorm/typeorm/compare/0.2.45...0.3.0","tags":["Release Notes","Third Party Advisory"]},{"url":"https://seclists.org/fulldisclosure/2022/Jun/51","tags":["Exploit","Mailing List","Third Party Advisory"]}]}}