Skip to content

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.

PackageAffectedFixed inStatus
showdoc/showdoc >= 2.8.14, < 3.9.6 3.9.6 Fixed

Affected products

ProductAffected versionsFixed in
showdoc/showdoc >= 2.8.14, < 3.9.6 3.9.6

References