Skip to main content

CVE-2025-0520 — Vulnerability in showdoc/showdoc — CVE Details

CRITICAL

ShowDoc unrestricted file upload vulnerability

Published April 29, 2025Updated November 5, 2025Source: OSV

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.

Check my composer.lock

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
Update showdoc/showdoc to 2.8.7 or later
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).

PackageFixed 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-434
    Unrestricted File UploadMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

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

CVSS Score
9.9

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
2.72%
EPSS percentile: 86.8

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

GHSA-6jmr-r7p6-f5wr

Related CVEs

  • CVE-2026-63412
    CRITICAL

    Jane: Instantiation RCE via query parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)

  • CVE-2026-63413
    CRITICAL

    Jane: Instantiation RCE via header parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock