Code Injection Vulnerability in ShowDoc by Star7th
CVE-2026-120203
8.7HIGH
What is CVE-2026-120203?
The Mock feature in ShowDoc versions 2.8.14 and earlier contains a vulnerability that allows authenticated users to perform code injection attacks. By exploiting this flaw, attackers can store malicious mockjs templates utilizing escaped parentheses. When these templates are evaluated through the application's MockController, they are executed as shell commands with root privileges on the official Docker image of ShowDoc. This poses a significant security risk, enabling unauthorized command execution.
Affected Version(s)
ShowDoc 2.8.14 < 3.9.6
