CVE-2026-6982: Showdoc/showdoc ShowDoc Has An Injection Vulnerability Vulnerability
MODERATECVE-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
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).
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.
Upgrade showdoc/showdoc to 3.8.1
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
CVE-2026-6982 Affected Showdoc/showdoc Versions
1 component(s)| 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?
Which Showdoc/showdoc versions are affected?
What version fixes CVE-2026-6982?
Is showdoc/showdoc affected?
What is the CVSS score of CVE-2026-6982?
What CWE is associated with CVE-2026-6982?
How can I check Packagist dependencies for CVE-2026-6982?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}