CVE-2026-120203
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.
How to fix
- ShowDoc ShowDoc3.9.6 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ShowDoc ShowDoc | 2.8.14 ≤ v < 3.9.6 | 3.9.6 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.