SQL Injection Affecting showdoc/showdoc package, versions >=2.5.3, <3.8.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (9th 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 SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-SHOWDOCSHOWDOC-16301692
  • published27 Apr 2026
  • disclosed25 Apr 2026
  • creditLIU Tingwei

Introduced: 25 Apr 2026

NewCVE-2026-6982  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade showdoc/showdoc to version 3.8.1 or higher.

Overview

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

Affected versions of this package are vulnerable to SQL Injection via the pages argument in the API Page Sort Endpoint process. An attacker can execute arbitrary SQL commands by sending crafted requests to the affected endpoint.

CVSS Base Scores

version 4.0
version 3.1