High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-31783
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:45 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-31783
Complete source record
{
"id": "9431b7ab917b3e481907ba35dedb408e33a4d7be0ad65d77780dd2b0574ff1a3",
"url": "https://osv.dev/vulnerability/CVE-2021-31783",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-31783",
"summary": "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.",
"evidence": "osv:CVE-2021-31783",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-31783",
"aliases": [
"CVE-2021-31783"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/piwigo/localfileseditor",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "dda691d3e45bfd166ac175c70bd8b91cb4917b6b"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "dda691d3e45bfd166ac175c70bd8b91cb4917b6b"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31783.json"
}
}
],
"modified": "2026-10-20T10:54:40.962976635Z",
"provider": "osv",
"references": [
"https://piwigo.org/ext/index.php?cid=null",
"https://github.com/Piwigo/LocalFilesEditor/issues/2",
"https://github.com/Piwigo/LocalFilesEditor/commit/dda691d3e45bfd166ac175c70bd8b91cb4917b6b"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:piwigo:localfiles_editor:*:*:*:*:*:piwigo:*:*"
],
"vendor_product": "piwigo:localfiles_editor",
"extracted_events": [
{
"range": [
{
"fixed": "11.4.0.1"
}
],
"source": "CPE_RANGE"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "11.4.0.1"
}
],
"source": "DESCRIPTION"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-31783",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385880,
"published_at": "2021-04-26T19:15:08.583+00:00"
}