CVE-2026-120203
ShowDoc 2.8.14 before 3.9.6 Code Injection via Mock Templates
CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-94 |
| Vendor | showdoc |
| Product | showdoc |
| Published | Oct 31, 2026 |
Stay Ahead of the Next One
Get instant alerts for showdoc showdoc
Be the first to know when new high vulnerabilities affecting showdoc showdoc are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
ShowDoc / ShowDoc
2.8.14 < 3.9.6
References
github.com: https://github.com/star7th/showdoc/commit/5a2087a3f408f5266f61e9e2fb98845ef4788288 gist.github.com: https://gist.github.com/LioTree/028af150fd991cf9924dd2c7d5912e54 github.com: https://github.com/star7th/showdoc/blob/v3.9.5/mock/index.js#L42 github.com: https://github.com/star7th/showdoc vulncheck.com: https://www.vulncheck.com/advisories/showdoc-2.8.14-before-3.9.6-code-injection-via-mock-templates
Credits
LionTree star7th