# CVE-2025-0520: ShowDoc < 2.8.7 Unauthenticated File Upload Remote Code Execution

- Severity: Critical 9.4 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.44%, higher than 84% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-04-29T19:35:37.829Z
- Modified: 2026-11-08T14:00:06.959Z
- Also known as: GHSA-6jmr-r7p6-f5wr
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- ShowDoc ShowDoc: before 2.8.7
- showdoc/showdoc (Packagist): before 2.8.7

## Every score

- VulnCheck: CVSS:4.0 9.4 Critical `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`
- GitHub: CVSS:4.0 Critical `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`

## References

- <https://github.com/vulhub/vulhub/tree/master/showdoc/CNVD-2020-26585> (exploit, web)
- <https://github.com/star7th/showdoc/pull/1059> (issue-tracking, patch, web)
- <https://www.cnvd.org.cn/flaw/show/CNVD-2020-26585> (third-party-advisory, web)
- <https://www.vulncheck.com/advisories/showdoc-unauthenticated-file-upload-rce> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-0520> (advisory)
- <https://github.com/star7th/showdoc> (package)

## Sources

- CVE List: [CVE-2025-0520](https://www.cve.org/CVERecord?id=CVE-2025-0520), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-6jmr-r7p6-f5wr](https://github.com/advisories/GHSA-6jmr-r7p6-f5wr), CC-BY-4.0, modified 2025-11-05
- NVD: [CVE-2025-0520](https://nvd.nist.gov/vuln/detail/CVE-2025-0520), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2025-0520 · Whole record: https://cve.day/CVE-2025-0520.json · Rebuilt by cve.day 2026-11-25T22:58:57.127Z
