{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.9.10"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "836fb2c19d84dac7b0272958dfb9af7cf0d0ade4"
            }
          ],
          "repo": "https://github.com/jinzhu/gorm",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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",
  "id": "CVE-2019-15562",
  "modified": "2026-03-13T21:55:28.467136245Z",
  "published": "2019-08-26T13:15:11.663Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/go-gorm/gorm/issues/2517#issuecomment-638145427"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/go-gorm/gorm/pull/2519"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/go-gorm/gorm/pull/2674"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/jinzhu/gorm/releases/tag/v1.9.10"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}