# CVE-2021-31783: showdefault.php in the LocalFilesEditor extension before 11.4.0.1 for Piwigo allows Local File Inclusion because the file parameter is not…

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 53% of CVEs (2026-12-01)
- Published: 2021-04-26T18:05:16.000Z
- Modified: 2026-06-17T03:52:13.700Z
- Weaknesses: CWE-345
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- piwigo localfiles_editor: before 11.4.0.1

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://piwigo.org/ext/index.php?cid=null> (release-notes, third-party-advisory)
- <https://github.com/Piwigo/LocalFilesEditor/issues/2> (issue-tracking, third-party-advisory)
- <https://github.com/Piwigo/LocalFilesEditor/commit/dda691d3e45bfd166ac175c70bd8b91cb4917b6b> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-31783](https://www.cve.org/CVERecord?id=CVE-2021-31783), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-31783](https://nvd.nist.gov/vuln/detail/CVE-2021-31783), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31783 · Whole record: https://cve.day/CVE-2021-31783.json · Rebuilt by cve.day 2026-11-25T22:58:01.052Z
