GitHub Advisory Database
GHSA-6jmr-r7p6-f5wr
ShowDoc unrestricted file upload vulnerability
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | showdoc/showdoc | All versions before 2.8.7 (fixed in 2.8.7) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-0520
- https://github.com/star7th/showdoc/pull/1059
- https://github.com/star7th/showdoc
- 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