star7th/showdoc · Security
ShowDoc unrestricted file upload vulnerability
- GHSA ID
- GHSA-6jmr-r7p6-f5wr
- CVE ID
- CVE-2025-0520
- Severity
- critical
- Published
- Updated
- CVSS v4
- 9.4 · CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L
Description
An unrestricted file upload vulnerability in ShowDoc caused by improper validation of file extension allows execution of arbitrary PHP, leading to remote code execution. This issue affects ShowDoc: before 2.8.7.
CWEs
- CWE-434 · Unrestricted Upload of File with Dangerous Type
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-0520 ↗
- https://github.com/star7th/showdoc/pull/1059 ↗
- https://github.com/vulhub/vulhub/tree/master/showdoc/CNVD-2020-26585 ↗
- https://www.cnvd.org.cn/flaw/show/CNVD-2020-26585 ↗
- https://www.vulncheck.com/advisories/showdoc-unauthenticated-file-upload-rce ↗
- https://github.com/advisories/GHSA-6jmr-r7p6-f5wr ↗