Patchfirst
CVE-2025-0520 Public exploit Critical · 9.4 EPSS 2.4%

ShowDoc < 2.8.7 Unauthenticated File Upload Remote Code Execution

Fix:upgrade showdoc to 2.8.7 or later Details ↓

ShowDoc · ShowDoc

Summary

The ShowDoc product contains an unrestricted file upload flaw, caused by improper validation of file extensions, in versions before 2.8.7. An attacker with network access and low-privileged credentials, requiring no user interaction and no special configuration, can upload files with executable PHP content and run arbitrary code on the server.

Official description · CVE.org

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.

Breakdown
68.5 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 11 months after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+11 mo

Affected versions and fixes

as published in the CVE record

ShowDoc ShowDoc

Affected: < 2.8.7

Attack pattern (CAPEC)

CAPEC-650 Upload a Web Shell to a Web Server

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: showdoc/showdoc.

Packagistshowdoc/showdocGHSA-6jmr-r7p6-f5wr

Upgrade to 2.8.7 or later

Set the version to 2.8.7 or later in your composer.json.

The first fix for CVE-2025-0520. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
All versions before 2.8.72.8.7

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

References

4 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close