GHSA-6jmr-r7p6-f5wrcritical9.4
ShowDoc unrestricted file upload vulnerability
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
showdoc/showdoc Packagist
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 2.8.7Ecosystem versions | 2.8.7 |
Version evidence: OSV · GHSA-6jmr-r7p6-f5wr
View original version evidence (107 explicit versions)
Original source 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.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2025-0520
- Patch github.com/star7th/showdoc/pull/1059
- Source reference github.com/star7th/showdoc
- Source reference github.com/vulhub/vulhub/tree/master/showdoc/CNVD-2020-26585
- Source reference www.cnvd.org.cn/flaw/show/CNVD-2020-26585
- Security advisory www.vulncheck.com/advisories/showdoc-unauthenticated-file-upload-rce