CVE-2025-0520 ShowDoc < 2.8.7 Unauthenticated File Upload Remote Code Execution
Unauthenticated attackers can upload malicious PHP files to execute arbitrary code on ShowDoc servers.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-0520?
CVE-2025-0520 is a critical vulnerability in ShowDoc, published on 29 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-434
Which versions are affected by CVE-2025-0520?
2 open source packages ship an affected version, including showdoc/showdoc.
| Package | Affected | Fixed in |
|---|---|---|
showdoc/showdoc Packagist | All versions | 2.8.7 |
showdoc/showdoc Packagist | All versions | 2.8.7 |
How do I fix CVE-2025-0520?
Upgrade showdoc/showdoc to 2.8.7 or later.
Is CVE-2025-0520 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-0520 exists.
Public exploit code: 1 Nuclei template.
Sources
Also known as GHSA-6jmr-r7p6-f5wr.