Vulnerability library
Security checkOctober 31, 2025

TypeORM vulnerable to SQL injection via crafted request to repository.save or repository.update

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmtypeorm

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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.

Recommendation

Update the typeorm package to the latest compatible version. Followings are version details:

  • Affected version(s): < 0.3.26
  • Patched version(s): 0.3.26

References

Could your website be exposed too?

SmartScanner can check your website for TypeORM vulnerable to SQL injection via crafted request to repository.save or repository.update and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 31, 2025