CVE-2025-60542
BaseFortify
Publication date: 2025-10-29
Last updated on: 2025-10-30
Assigner: MITRE
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| typeorm | typeorm | 0.3.26 |
| typeorm | typeorm | 0.3.25 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-89 | The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a SQL Injection issue in TypeORM versions before 0.3.26. It occurs when a crafted request is made to repository.save or repository.update functions. The problem arises because the sqlstring call uses stringifyObjects with a default value of false, which can allow malicious SQL code to be injected.
How can this vulnerability impact me? :
This vulnerability can allow an attacker to execute arbitrary SQL commands on the database through the affected TypeORM functions. This could lead to unauthorized data access, data modification, or deletion, potentially compromising the integrity and confidentiality of your data.