CVE-2025-0520 — Vulnerability in showdoc/showdoc — CVE Details
ShowDoc unrestricted file upload vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (2.72%). Schedule for your next planned update.
Does your project use an affected showdoc/showdoc version?
Paste your composer.lock to check it for CVE-2025-0520 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published April 29, 2025 (576 days ago).
- Last revised November 5, 2025 — 190 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "showdoc/showdoc:^2.8.7"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Packagist (1).
| Package | Fixed In |
|---|---|
| showdoc/showdoc Packagist · Affected: v1.0.0, v1.0.1, v1.0.2, v1.0.3 (+103 more) | 2.8.7 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-434Unrestricted File UploadMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.
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://nvd.nist.gov/vuln/detail/CVE-2025-0520ADVISORY
- https://github.com/star7th/showdoc/pull/1059WEB
- https://github.com/star7th/showdocPACKAGE
- https://github.com/vulhub/vulhub/tree/master/showdoc/CNVD-2020-26585WEB
- https://www.cnvd.org.cn/flaw/show/CNVD-2020-26585WEB
- https://www.vulncheck.com/advisories/showdoc-unauthenticated-file-upload-rceWEB
Frequently Asked Questions
- What is CVE-2025-0520?
- ShowDoc unrestricted file upload vulnerability. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
- How do I check if my project is affected by CVE-2025-0520?
- CVE-2025-0520 affects showdoc/showdoc. It has a 2.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-0520 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top quartile of EPSS-scored vulnerabilities — 86.8% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-63412CRITICAL
Jane: Instantiation RCE via query parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)
- CVE-2026-63413CRITICAL
Jane: Instantiation RCE via header parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)