{"action":"Upgrade typeorm to 0.3.26 or later.","affected":[{"fixed":"0.3.26","introduced":"0"}],"component":"typeorm","cve_ids":["CVE-2025-60542"],"ecosystem":"npm","epss":0.00265,"exploited":false,"fixed_versions":["0.3.26"],"ghsa_id":"GHSA-q2pj-6v73-8rgj","id":"tcs_01M5KG4VR2NWMJ8Q6J693NY9R3","modified_at":"2026-09-10T03:50:30.128177147Z","published_at":"2025-10-29T18:30:33Z","references":["https://osv.dev/vulnerability/GHSA-q2pj-6v73-8rgj","https://nvd.nist.gov/vuln/detail/CVE-2025-60542","https://github.com/typeorm/typeorm/pull/11574","https://github.com/typeorm/typeorm/commit/d57fe3bd8578b0b8f9847647fd046bccf825a7ef","https://github.com/mysqljs/sqlstring/blob/cd528556b4b6bcf300c3db515026935dedf7cfa1/lib/SqlString.js#L54","https://github.com/sidorares/node-mysql2/blob/e359f454a76ba5dc31b91adf7bdb4099ca317bb5/lib/base/connection.js#L524","https://github.com/sidorares/node-mysql2/blob/e359f454a76ba5dc31b91adf7bdb4099ca317bb5/lib/connection_config.js#L124","https://github.com/typeorm/typeorm/blob/0.3.25/src/driver/mysql/MysqlConnectionOptions.ts","https://github.com/typeorm/typeorm/releases/tag/0.3.26","https://github.com/typeorm/typeorm/releases?q=security&expanded=true","https://medium.com/@alizada.cavad/cve-2025-60542-typeorm-mysql-sqli-0-3-25-a1b32bc60453","http://github.com/typeorm/typeorm"],"severity":{"label":"medium","score":6.5},"sources":[{"source":"osv","source_id":"GHSA-q2pj-6v73-8rgj","url":"https://osv.dev/vulnerability/GHSA-q2pj-6v73-8rgj"}],"summary":"TypeORM vulnerable to SQL injection via crafted request to repository.save or repository.update"}