Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-15562

GORM before 1.9.10 allows SQL injection via incomplete parentheses. NOTE: Misusing Gorm by passing untrusted user input where Gorm expects trusted SQL fragments is a vulnerability in the application, not in Gorm

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-15562
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:35 UTC · Revision 1

Source evidence

CVE-2019-15562

core-osv · Original source

Published 26 Aug 2019, 13:15 UTC

GORM before 1.9.10 allows SQL injection via incomplete parentheses. NOTE: Misusing Gorm by passing untrusted user input where Gorm expects trusted SQL fragments is a vulnerability in the application, not in Gorm

osv:CVE-2019-15562
Complete source record
{
  "id": "a6c9da354ee308feaeb81569fa78ec3d053cc752580d98db87f38c1852239ce4",
  "url": "https://osv.dev/vulnerability/CVE-2019-15562",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-15562",
    "summary": "GORM before 1.9.10 allows SQL injection via incomplete parentheses. NOTE: Misusing Gorm by passing untrusted user input where Gorm expects trusted SQL fragments is a vulnerability in the application, not in Gorm",
    "evidence": "osv:CVE-2019-15562",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2019-15562",
      "aliases": [
        "CVE-2019-15562"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/jinzhu/gorm",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "836fb2c19d84dac7b0272958dfb9af7cf0d0ade4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gorm:gorm:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.9.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "836fb2c19d84dac7b0272958dfb9af7cf0d0ade4"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.9.10"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.9.9",
            "v1.9.8",
            "v1.9.7",
            "v1.9.6",
            "v1.9.5",
            "v1.9.4",
            "v1.9.3",
            "v1.9.2",
            "v1.9.1",
            "v1.9",
            "v1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-15562.json"
          }
        }
      ],
      "modified": "2026-10-20T10:50:45.170885050Z",
      "provider": "osv",
      "references": [
        "https://github.com/go-gorm/gorm/issues/2517#issuecomment-638145427",
        "https://github.com/go-gorm/gorm/pull/2519",
        "https://github.com/go-gorm/gorm/pull/2674",
        "https://github.com/jinzhu/gorm/releases/tag/v1.9.10"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2019-15562",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 382111,
  "published_at": "2019-08-26T13:15:11.663+00:00"
}