SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2022-33171

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.

CRITICAL 9.8EPSS 21.4%

Does this matter?

EPSS puts the probability of exploitation in the next 30 days at 21.4%, higher than 98% of all known CVEs. Patch or mitigate before the next change window.

Description

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

CVSS 3.1
9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
21.39% probability · 98th percentile
Public exploits
None in Exploit-DB
CISA KEV
Not listed
Weakness
CWE-89
Affected
typeorm/typeorm
Source
cve@mitre.org
EPSS trend
0%13%25%20 September 2026: 21.39%3 November 2026: 21.39%20 September 20263 November 2026

EPSS moved from 21.4% on 20 September 2026 to 21.4% on 3 November 2026. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”.

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.