{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "11.5.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "5075f97a46330dc72304695b2be3d90c3da3d18c"
            }
          ],
          "repo": "https://github.com/piwigo/piwigo",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Piwigo v11.5 was discovered to contain a SQL injection vulnerability via the parameter pwg_token in /admin/batch_manager_global.php.",
  "id": "CVE-2021-40313",
  "modified": "2026-03-13T21:51:06.768498785Z",
  "published": "2021-12-06T21:15:07.867Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://github.com/Piwigo/Piwigo/issues/1469"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}