CVE-2026-120203
JSON

8.7high

ShowDoc 2.8.14 before 3.9.6 Code Injection via Mock Templates

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.44% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

ShowDoc 2.8.14 before 3.9.6 contains a code injection vulnerability in its Mock feature that allows authenticated users to execute shell commands through mockjs templates. Attackers can store a template via MockController::add with escaped parentheses that mockjs evaluates with eval(), then trigger it through MockController::infoByKey to run commands, as root in the official Docker image.

Affected

Product or packageVersionsReported by
ShowDoc ShowDocfrom 2.8.14 before 3.9.6CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-120203 changed 2026-11-06CVE Terms of Use
NVDCVE-2026-120203 changed 2026-11-06Public domain