{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "dda691d3e45bfd166ac175c70bd8b91cb4917b6b"
            }
          ],
          "repo": "https://github.com/piwigo/localfileseditor",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "unresolved_ranges": [
      {
        "cpes": [
          "cpe:2.3:a:piwigo:localfiles_editor:*:*:*:*:*:piwigo:*:*"
        ],
        "extracted_events": [
          {
            "fixed": "11.4.0.1"
          }
        ],
        "source": "CPE_RANGE",
        "vendor_product": "piwigo:localfiles_editor"
      },
      {
        "extracted_events": [
          {
            "fixed": "11.4.0.1"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "show_default.php in the LocalFilesEditor extension before 11.4.0.1 for Piwigo allows Local File Inclusion because the file parameter is not validated with a proper regular-expression check.",
  "id": "CVE-2021-31783",
  "modified": "2026-07-08T05:36:25.940093563Z",
  "published": "2021-04-26T19:15:08.583Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://piwigo.org/ext/index.php?cid=null"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/Piwigo/LocalFilesEditor/issues/2"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Piwigo/LocalFilesEditor/commit/dda691d3e45bfd166ac175c70bd8b91cb4917b6b"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}