Skip to content
CVE PROGRAM SOURCE RECORD8.7 High

CVE-2026-120203

ShowDoc 2.8.14 before 3.9.6 Code Injection via Mock Templates

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

ShowDoc ShowDoc

Default version status: unaffected

  • 2.8.14 to < 3.9.6affected
pkg:composer/showdoc/showdoc

References