CVE-2025-0520 Details
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.
A vulnerability allowing unrestricted file uploads has been identified in ShowDoc versions prior to 2.8.7. This issue arises from inadequate validation of file extensions, enabling the execution of arbitrary PHP code and leading to remote code execution. The vulnerability allows attackers to upload web shells and execute arbitrary code on the server.
Users are advised to update to the latest version of ShowDoc, as the vulnerability has been patched in version 2.8.7.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 29, 2025CISA-ADP
Assessed Apr 29, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/star7th/showdoc/pull/1059 | [email protected] | ExploitIssue TrackingVendor |
| https://github.com/vulhub/vulhub/tree/master/showdoc/CNVD-2020-26585 | [email protected] | ExploitTechnical Description |
| https://www.cnvd.org.cn/flaw/show/CNVD-2020-26585 | [email protected] | AdvisoryRemedy |
| https://www.vulncheck.com/advisories/showdoc-unauthenticated-file-upload-rce | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ShowDoc | < 2.8.7 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 4, 2025 | CVE Modified | [email protected] |
| Apr 29, 2025 | New CVE Received | [email protected] |
Volerion