CVE-2026-6982: SQL Injection Vulnerability in ShowDoc API Page Sort Endpoint

showdoc/showdoc Updated 05 May 2026

Summary

25/04/2026
Yes i
Moderate
6.3

CVE-2026-6982: ShowDoc has an Injection vulnerability. Affects showdoc/showdoc versions < 3.8.1. Fixed in 3.8.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

ShowDoc is an open-source documentation management tool that allows users to create and manage documentation collaboratively. It provides features such as markdown support, API documentation, and a user-friendly interface. However, versions up to 2.10.10, 3.6.2, and 3.8.0 are vulnerable to an SQL injection attack through the API Page Sort Endpoint, which can be exploited remotely.

Vulnerability Detail

A vulnerability exists in the ShowDoc application, specifically in the PageController.class.PHP file of the API Page Sort Endpoint. By manipulating the 'pages' argument, an attacker can execute SQL injection attacks, potentially leading to unauthorized access to the database and sensitive information. This vulnerability affects versions up to 3.8.0 and can be exploited remotely, making it critical for users to address it promptly.

How To Fix

Minimum fixed version

3.8.1

This is the first release that contains the fix.

composer require showdoc/showdoc:3.8.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, it is recommended to restrict access to the API Page Sort Endpoint until the package can be updated. This can be done by implementing access controls or disabling the endpoint in the application configuration.

Conclusion

The SQL injection vulnerability identified as CVE-2026-6982 in ShowDoc poses a significant risk to users of affected versions. It is crucial to upgrade to version 3.8.1 or later to mitigate this risk. Users should also consider implementing temporary workarounds to secure their applications until they can perform the update.

See every vulnerability recorded for showdoc/showdoc →

Share this vulnerability

FAQ

CVE-2026-6982 is a vulnerability in the ShowDoc application that allows for SQL injection through the API Page Sort Endpoint.

The affected versions are ShowDoc up to 2.10.10, 3.6.2, and 3.8.0.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Exploitation of this vulnerability can lead to unauthorized access to the database, data leakage, and potential compromise of sensitive information.

The CVSS score of this vulnerability is 6.3, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for showdoc/showdoc.

How To Fix

Minimum fixed version

3.8.1

This is the first release that contains the fix.

composer require showdoc/showdoc:3.8.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback