CVE-2026-120203 ShowDoc 2.8.14 before 3.9.6 Code Injection via Mock Templates
HighCVSS 8.7
EPSS 0.35%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- PHPDocker
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| showdoc/showdoc | >= 2.8.14, < 3.9.6 | 3.9.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| showdoc/showdoc | >= 2.8.14, < 3.9.6 | 3.9.6 |
References
- Patch Commit patch
- gist.github.com technical-description
- github.com technical-description
- github.com product
- VulnCheck Advisory: ShowDoc 2.8.14 before 3.9.6 Code Injection via Mock Templates third-party-advisory
- ENISA EUVD EUVD-2026-114724 third-party-advisory