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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ShowDoc | ShowDoc | < 2.8.7 | 2.8.7 |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- ShowDoc - Remote Code Execution http/cves/2025/CVE-2025-0520.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | showdoc/showdoc | < 2.8.7 | 2.8.7 | GHSA-6jmr-r7p6-f5wr |
References
- https://github.com/vulhub/vulhub/tree/master/showdoc/CNVD-2020-26585 exploit
- https://github.com/star7th/showdoc/pull/1059 issue-tracking patch
- https://www.cnvd.org.cn/flaw/show/CNVD-2020-26585 third-party-advisory
- https://www.vulncheck.com/advisories/showdoc-unauthenticated-file-upload-rce third-party-advisory