Home / CVE-2025-60542
CVE-2025-60542: is it exploited, and which versions of typeorm are affected and fixed?
CVE-2025-60542 is a SQL injection vulnerability in typeorm. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: typeorm before 0.3.26 (GitHub advisory GHSA-q2pj-6v73-8rgj). Fixed in 0.3.26 (GitHub advisory GHSA-q2pj-6v73-8rgj). Severity: Medium (6.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:16 UTC.
What is CVE-2025-60542?
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.
From the CVE record by mitre, last updated October 30, 2025, 20:28 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | typeorm | < 0.3.26 | 0.3.26 | GHSA-q2pj-6v73-8rgj |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 31, 2025. Summary: TypeORM vulnerable to SQL injection via crafted request to repository.save or repository.update.
How severe is CVE-2025-60542?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-60542 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, October 30, 2025)
- EPSS
- 0.27% probability of exploitation activity in the next 30 days, percentile 19.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Where are the vendor advisories and references?
- https://github.com/typeorm/typeorm/releases?q=security&expanded=true
- https://github.com/typeorm/typeorm/pull/11574
- https://github.com/typeorm/typeorm/releases/tag/0.3.26
- https://medium.com/@alizada.cavad/cve-2025-60542-typeorm-mysql-sqli-0-3-25-a1b32bc60453
When was it published, and where is the official record?
- Reserved
- September 26, 2025
- Published
- October 29, 2025, 00:00 UTC
- CVE record updated
- October 30, 2025, 20:28 UTC by mitre
- NVD
- Deferred, last modified October 27, 2026, 12:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:16 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Which other CVEs were published on October 29, 2025?
- Oct 29, 2025CVE-2025-62257 Liferay Portal: no limit on login attempts (brute force)
- Oct 29, 2025CVE-2025-11428 This CVE ID has been rejected or withdrawn by its CVE Numbering Authority. rejected
- Oct 29, 2025CVE-2025-12466 Drupal Simple OAuth (OAuth2) & OpenID Connect: authentication bypass through another path
- Oct 29, 2025CVE-2025-12083 Drupal CivicTheme Design System: cross-site scripting (XSS)
- Oct 29, 2025CVE-2025-12082 Drupal CivicTheme Design System: incorrect authorization
- Oct 29, 2025CVE-2025-10929 Drupal Reverse Proxy Header: improper Validation of Consistency within Input
- Oct 29, 2025CVE-2025-10930 Drupal Currency: cross-site request forgery (CSRF)
- Oct 29, 2025CVE-2025-10931 Drupal Umami Analytics: cross-site scripting (XSS)
Every CVE published on October 29, 2025
Questions about CVE-2025-60542
Is CVE-2025-60542 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.27% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of typeorm are affected by CVE-2025-60542?
typeorm before 0.3.26, per the GitHub advisory GHSA-q2pj-6v73-8rgj. The tables above give every range the sources list.
Which version fixes CVE-2025-60542?
0.3.26, per the GitHub advisory GHSA-q2pj-6v73-8rgj. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-60542?
Medium (6.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2025-60542?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.