Skip to main content
VulnerabilityPublished Updated

CVE-2025-60542: typeorm · SQL Injection

Affects typeormSource CVE Database V5

0

Not known to be exploited · CVSS 6.5 Medium : upgrade to 0.3.26 when convenient.

Data as of 26 Oct 2026, 12:55 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 18% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.3.26
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade typeorm to 0.3.26.

Affected software

ProductAffectedFixed in
npmtypeormpkg:npm/typeormOther threatsAffected
  • <0.3.26
Fixed in
  • 0.3.26

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2025-60542, European organizations should: 1) Immediately upgrade all TypeORM dependencies to version 0.3.26 or later, where the vulnerability is fixed. 2) Conduct a thorough code review of all database interaction points, especially those using repository.save and repository.update, to ensure no unsafe or unsanitized inputs are passed. 3) Implement strict input validation and sanitization at the application layer to prevent injection of malicious payloads. 4) Employ Web Application Firewalls (WAFs) with SQL Injection detection rules to provide an additional layer of defense. 5) Monitor application logs and database query logs for unusual or suspicious activity indicative of injection attempts. 6) Educate developers on secure coding practices related to ORM usage and SQL Injection prevention. 7) If upgrading immediately is not feasible, consider temporarily disabling or restricting access to vulnerable endpoints and applying compensating controls such as parameterized queries or prepared statements where possible. 8) Maintain an incident response plan to quickly address any detected exploitation attempts.

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

Community reviews

Loading reviews…