CVE-2026-6982: Showdoc/showdoc ShowDoc Has An Injection Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-fm5r-cj7v-rj2c
CVSS 6.3
CWE-74
Published
Advisory Summary

CVE-2026-6982 is a MODERATE (CVSS 6.3) showdoc has an injection vulnerability vulnerability (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')) affecting Showdoc/showdoc libraries in the Packagist ecosystem. The issue involves showdoc has an injection vulnerability. Remediation is available by upgrading affected packages to version 3.8.1.

CVE-2026-6982 at a Glance

CVE Identifier CVE-2026-6982
GHSA Identifier GHSA-fm5r-cj7v-rj2c
Severity MODERATE
CVSS v3.1 Base Score 6.3
CWE Classification CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Affected Product Showdoc/showdoc
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 6.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2026-6982

To remediate this vulnerability, upgrade all affected Showdoc/showdoc dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

showdoc/showdoc fixed: 3.8.1
Upgrade showdoc/showdoc to 3.8.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for showdoc/showdoc

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-6982, inspect your project dependencies for Showdoc/showdoc:

inspect dependencies for showdoc/showdoc

Analyze the terminal output to locate any version of Showdoc/showdoc in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.8.1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'), where the product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. In Showdoc/showdoc, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A vulnerability was determined in star7th ShowDoc up to 2.10.10/3.6.2/3.8.0. Affected by this vulnerability is an unknown functionality of the file server/Application/Api/Controller/PageController.class.PHP of the component API Page Sort Endpoint. Executing a manipulation of the argument pages can lead to sql injection. The attack may be launched remotely. Upgrading to version 3.8.1 addresses this issue. It is suggested to upgrade the affected component. According to the researcher, "[t]he vendor explicitly stated they will not backport patches to the older affected versions."

CVE-2026-6982 Affected Showdoc/showdoc Versions

1 component(s)
Fixed Versions:
3.8.1
Product / Package Ecosystem Affected Versions Fixed Version
showdoc/showdoc
Packagist
< 3.8.1
3.8.1

References

Frequently Asked Questions

What is CVE-2026-6982?
CVE-2026-6982 is a security vulnerability in Showdoc/showdoc involving ShowDoc has an Injection vulnerability under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection').
Which Showdoc/showdoc versions are affected?
Affected versions include releases prior to 3.8.1 across affected packages: showdoc/showdoc.
What version fixes CVE-2026-6982?
Upgrading to 3.8.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is showdoc/showdoc affected?
Yes, showdoc/showdoc is affected in releases prior to 3.8.1. Upgrade your dependency to 3.8.1 or later.
What is the CVSS score of CVE-2026-6982?
CVE-2026-6982 has a CVSS v3.1 base score of 6.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2026-6982?
CVE-2026-6982 is classified under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.).
How can I check Packagist dependencies for CVE-2026-6982?
Run the dependency tree command: 'inspect dependencies for showdoc/showdoc'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-fm5r-cj7v-rj2c",
  "modified" : "2026-05-05T20:21:52Z",
  "published" : "2026-04-25T15:33:33Z",
  "aliases" : [ "CVE-2026-6982" ],
  "summary" : "ShowDoc has an Injection vulnerability",
  "details" : "A vulnerability was determined in star7th ShowDoc up to 2.10.10/3.6.2/3.8.0. Affected by this vulnerability is an unknown functionality of the file server/Application/Api/Controller/PageController.class.PHP of the component API Page Sort Endpoint. Executing a manipulation of the argument pages can lead to sql injection. The attack may be launched remotely. Upgrading to version 3.8.1 addresses this issue. It is suggested to upgrade the affected component. According to the researcher, \"[t]he vendor explicitly stated they will not backport patches to the older affected versions.\"",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "showdoc/showdoc"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.8.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-6982"
  }, {
    "type" : "WEB",
    "url" : "https://gist.github.com/saDL0w/555e19668264f98d96259ad47ea33811"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/star7th/showdoc"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/star7th/showdoc/releases/tag/v3.8.1"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/submit/795528"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/359525"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/359525/cti"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-74" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-05T20:21:52Z",
    "nvd_published_at" : "2026-04-25T15:16:17Z"
  }
}