CVE-2025-0520
ShowDoc unrestricted file upload vulnerability
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA.
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| composer::GitHub Security Advisory Composer | showdoc/showdoc | 2.8.7 |
References
- https://github.com/star7th/showdoc
- https://github.com/star7th/showdoc/pull/1059
- https://github.com/vulhub/vulhub/tree/master/showdoc/CNVD-2020-26585
- https://nvd.nist.gov/vuln/detail/CVE-2025-0520
- https://www.cnvd.org.cn/flaw/show/CNVD-2020-26585
- https://www.vulncheck.com/advisories/showdoc-unauthenticated-file-upload-rce