{"id":"CVE-2025-60542","published":"2025-10-29T00:00:00Z","modified":"2025-10-30T20:28:41Z","title":"SQL Injection vulnerability in TypeORM before 0.3.26 via crafted request to repository.save or repository.update due…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00451,"percentile":0.31108,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/typeorm/typeorm/releases?q=security&expanded=true","tags":[]},{"url":"https://github.com/typeorm/typeorm/pull/11574","tags":[]},{"url":"https://github.com/typeorm/typeorm/releases/tag/0.3.26","tags":[]},{"url":"https://medium.com/@alizada.cavad/cve-2025-60542-typeorm-mysql-sqli-0-3-25-a1b32bc60453","tags":[]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":6.22},{"name":"CVSS severity","points":4.55}]},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-10-30T20:28:03.239406Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"typeorm","vulnerableRanges":["<0.3.26"],"patched":["0.3.26"],"from":["GHSA-q2pj-6v73-8rgj"],"provenance":"source"}],"summary":{"text":"The flaw is a SQL injection vulnerability in TypeORM, an object-relational mapper, affecting versions before 0.3.26, where it arises in the repository.save and repository.update methods because the underlying sqlstring call defaults stringifyObjects to false. An attacker who can send a crafted request that reaches those methods, requiring no authentication and no user interaction over the network, can inject SQL to alter database queries and affect confidentiality and integrity, though not availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:04Z"},"euvd":{"id":"EUVD-2025-36689","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-8158","published":"2020-09-18","fixed":"0.2.25","kev":false},{"cve":"CVE-2022-33171","published":"2022-07-04","fixed":"0.3.0","kev":false},{"cve":"CVE-2025-60542","published":"2025-10-29","fixed":"0.3.26","kev":false},{"cve":"CVE-2026-73651","published":"2026-08-13","fixed":"1.1.0","kev":false,"link":{"from":"CVE-2025-60542","to":"CVE-2026-73651","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:typeorm","fromFixed":"0.3.26","toFixed":"0.3.31","daysApart":288}]}}],"package":"npm:typeorm"}}