# CVE-2021-34257: Unrestricted Upload of File with Dangerous Type in WPanel 4

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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): 1.82%, higher than 79% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-03-31T15:57:38.000Z
- Modified: 2026-06-17T03:55:34.903Z
- Also known as: GHSA-vhgr-gfx3-fg37
- Weaknesses: CWE-434
- Assigned by: mitre

## Description

Multiple Remote Code Execution (RCE) vulnerabilities exist in WPanel 4 4.3.1 and below via a malicious PHP file upload to (1) Dashboard's Avatar image, (2) Posts Folder image, (3) Pages Folder image and (4) Gallery Folder image.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- wpanel/wpanel4-cms (Packagist): up to 4.3.1
- wpanel_cms_project wpanel_cms: up to 4.3.1

## Every score

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

## References

- <https://latestpcsolution.wordpress.com/2021/06/05/wpanel4-cms-authenticated-rce/> (exploit, third-party-advisory)
- <https://github.com/Sentinal920/WPanel4-Authenticated-RCE> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-34257> (advisory)
- <https://github.com/wpanel/wpanel4-cms> (package)
- <https://latestpcsolution.wordpress.com/2021/06/05/wpanel4-cms-authenticated-rce> (web)

## Sources

- CVE List: [CVE-2021-34257](https://www.cve.org/CVERecord?id=CVE-2021-34257), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-vhgr-gfx3-fg37](https://github.com/advisories/GHSA-vhgr-gfx3-fg37), CC-BY-4.0, modified 2024-02-20
- NVD: [CVE-2021-34257](https://nvd.nist.gov/vuln/detail/CVE-2021-34257), Public domain, modified 2026-06-17

---

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