Read the docs
TI-2022-14604 Aliases CVE-2022-33171GHSA-fx4w-v43j-vc45

The findOne function in TypeORM before 0.3.0 can either be supplied with a string or a…

Priority HIGH 75CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-89.

Summary

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

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.21393 97th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Fixed typeorm (npm): 0.3.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—typeorm (npm)before 0.3.00.3.0Patch availableGHSA-fx4w-v43j-vc45
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • typeorm (npm) Vendor— Affected before 0.3.0 Fixed in 0.3.0 Patch available GHSA-fx4w-v43j-vc45

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:typeorm:typeorm:*:*:*:*:*:node.js:*:*before 0.3.0Vulnerabletypeorm
  • cpe:2.3:a:typeorm:typeorm:*:*:*:*:*:node.js:*:* Versions before 0.3.0 Vulnerable ·typeorm

Remediation

  • Fix · GHSA-fx4w-v43j-vc45 typeorm (npm) Fixed in 0.3.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-33171
  2. 2026-10-03 Alias added: GHSA-fx4w-v43j-vc45

References

  • TI-2020-06576 Prototype pollution in typeorm CVSS 3.1CRITICAL 9.8

Sources