Security Digest · Vulnerability record

CVE-2025-0520: ShowDoc unrestricted file upload vulnerability

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.

CVSS 9.4 Critical EPSS 2.6% · p85

Should you act?

Critical, preconditions apply

Severe if exploited, but exploitation needs conditions that may not apply to you. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • Not in CISA KEV, but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
  • EPSS 2.6%, percentile 85: FIRST’s model estimates a 2.6% chance of exploitation activity in the next 30 days, higher than 85% of all scored CVEs (elevated). EPSS is a probability, not a verdict.
  • Needs an account (low (any account)). Exposure depends on who can log in.
  • Only applies if your dependency tree includes showdoc/showdoc (Composer (PHP)) < 2.8.7, fixed in 2.8.7. Check your lockfile, including transitive dependencies.

What it is

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.

From the GitHub advisory

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 type: CWE-434.

Product: showdoc/showdoc (Composer (PHP)) · Assigned by: VulnCheck · Published: 2025-04-29

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
Composer (PHP)showdoc/showdoc< 2.8.72.8.7
VendorProductAffected versions (per CVE record)
ShowDocShowDoc< 2.8.7

Severity scores

Scored byCVSSScoreVector
VulnCheck4.09.4 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L
GitHub4.09.4 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
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Attack requirements: none
  • Privileges required: low (any account)
  • User interaction: none

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
  • CISA SSVC assessment: exploitation poc, automatable no, technical impact total.
  • FIRST EPSS (model of 2026-10-21): 2.65% probability of exploitation activity in the next 30 days; percentile 85.

Timeline

  • — CVE record published by VulnCheck
  • — GitHub-reviewed advisory GHSA-6jmr-r7p6-f5wr published (critical)
  • — CVE record last updated

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vulnerability records

  1. GitHub Advisory GHSA-6jmr-r7p6-f5wr github.com
  2. CVE.org record CVE-2025-0520 cve.org
  3. NVD entry CVE-2025-0520 nvd.nist.gov

Other references from the CVE record and advisory

  1. github.com github.com
  2. github.com github.com
  3. cnvd.org.cn cnvd.org.cn
  4. vulncheck.com vulncheck.com

Critical Composer (PHP) advisories · Today’s Security Digest