Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/typeorm/typeorm/pull/11574
- 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-a1b32
FAQ
What is CVE-2025-60542?
CVE-2025-60542 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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.
How severe is CVE-2025-60542?
CVE-2025-60542 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-60542?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.