← Back to CVE Explorer

CVE-2025-60542

Full vulnerability record from the local CVENow database.

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.

Severity
MEDIUM
CVSS score
6.5 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2025-10-29 16:15:34.057000
Last modified
2026-10-27 12:10:00.343000
View original CVE JSON
{
  "id": "CVE-2025-60542",
  "sourceIdentifier": "[email protected]",
  "published": "2025-10-29T16:15:34.057",
  "lastModified": "2026-10-27T12:10:00.343",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "Vulnerabilidad de inyección SQL en TypeORM anterior a la 0.3.26 mediante una solicitud manipulada a repository.save o repository.update debido a la llamada a sqlstring con stringifyObjects por defecto en falso."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "n/a",
          "product": "n/a",
          "versions": [
            {
              "version": "n/a",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
          "baseScore": 6.5,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 2.5
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2025-10-30T20:28:03.239406Z",
          "id": "CVE-2025-60542",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "yes"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-89"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/typeorm/typeorm/pull/11574",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/typeorm/typeorm/releases/tag/0.3.26",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/typeorm/typeorm/releases?q=security&expanded=true",
      "source": "[email protected]"
    },
    {
      "url": "https://medium.com/@alizada.cavad/cve-2025-60542-typeorm-mysql-sqli-0-3-25-a1b32bc60453",
      "source": "[email protected]"
    }
  ]
}