CVE-2026-6982 star7th ShowDoc API Page Sort Endpoint PageController.class.PHP sql injection

Medium 5.3 Published Updated

Remote attackers can exploit SQL injection in the ShowDoc API page sort endpoint to read or modify database contents.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-6982?

CVE-2026-6982 is a medium-severity SQL injection vulnerability in star7th ShowDoc, published on 25 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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."

Weakness: CWE-89, CWE-74

Which versions are affected by CVE-2026-6982?

2 open source packages ship an affected version, including showdoc/showdoc.

PackageAffectedFixed in
showdoc/showdoc PackagistAll versions3.8.1
showdoc/showdoc PackagistAll versions3.8.1

How do I fix CVE-2026-6982?

Upgrade showdoc/showdoc to 3.8.1 or later.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-6982 being exploited?

There is no known exploitation of CVE-2026-6982 in the wild and no public exploit code.

Sources

Also known as GHSA-fm5r-cj7v-rj2c.

Is CVE-2026-6982 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free