Arbitrary File Upload Affecting showdoc/showdoc package, versions <2.8.13


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.34% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary File Upload vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-SHOWDOCSHOWDOC-10255364
  • published28 May 2025
  • disclosed29 Apr 2025
  • creditUnknown

Introduced: 29 Apr 2025

CVE-2025-0520  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

Upgrade showdoc/showdoc to version 2.8.13 or higher.

Overview

showdoc/showdoc is a tool for an IT team to share documents online.

Affected versions of this package are vulnerable to Arbitrary File Upload due to the uploadImg method in the PageController class, which improperly validates file extensions. An attacker can execute arbitrary code by uploading a malicious file.

CVSS Base Scores

version 4.0
version 3.1