{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.9.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "045d98ab003c7e75d7f6b3f6a540cec63b916ce5"
            },
            {
              "fixed": "33a03e9afb8fb00c9d8f480424d549311fe03d40"
            }
          ],
          "repo": "https://github.com/piwigo/piwigo",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "The List Users API of Piwigo 2.9.2 is vulnerable to SQL Injection via the /admin/user_list_backend.php sSortDir_0 parameter. An attacker can exploit this to gain access to the data in a connected MySQL database.",
  "id": "CVE-2017-17822",
  "modified": "2026-04-01T23:09:51.458519564Z",
  "published": "2017-12-21T04:29:00.260Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/Piwigo/Piwigo/commit/33a03e9afb8fb00c9d8f480424d549311fe03d40"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Piwigo/Piwigo/issues/823"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/sahildhar/sahildhar.github.io/blob/master/research/reports/Piwigo_2.9.2/Multiple%20SQL%20Injection%20Vulnerabilities%20in%20Piwigo%202.9.2.md"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}