CVE-2025-60542

critical

Description

SQL Injection vulnerability in TypeORM before 0.3.26 via crafted request to repository.save or repository.update due to the sqlstring call using stringifyObjects default to false.

References

https://medium.com/@alizada.cavad/cve-2025-60542-typeorm-mysql-sqli-0-3-25-a1b32bc60453

https://github.com/typeorm/typeorm/releases?q=security&expanded=true

https://github.com/typeorm/typeorm/releases/tag/0.3.26

https://github.com/typeorm/typeorm/pull/11574

Details

Source: Mitre, NVD

Published: 2025-10-29

Updated: 2025-10-30

Risk Information

CVSS v2

Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 6.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Severity: Medium

CVSS v4

Base Score: 9.5

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:L/SI:H/SA:L

Severity: Critical

EPSS

EPSS: 0.00012