{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:piwigo:piwigo:11.5.0:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "11.5.0"
              },
              {
                "last_affected": "11.5.0"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "5075f97a46330dc72304695b2be3d90c3da3d18c"
            },
            {
              "last_affected": "5075f97a46330dc72304695b2be3d90c3da3d18c"
            }
          ],
          "repo": "https://github.com/piwigo/piwigo",
          "type": "GIT"
        }
      ],
      "versions": [
        "11.5.0"
      ]
    }
  ],
  "database_specific": {},
  "details": "Piwigo 11.5.0 is affected by a SQL injection vulnerability via admin.php and the id parameter.",
  "id": "CVE-2021-40317",
  "modified": "2026-07-08T05:36:26.934759947Z",
  "published": "2022-05-26T13:15:08.083Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://github.com/Piwigo/Piwigo/issues/1470"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}