8.8High

CVE-2026-120203ShowDoc 2.8.14 before 3.9.6 Code Injection via Mock Templates

ShowDoc ShowDoc Published: (19 days ago)

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.

Weakness (CWE): CWE-94

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
ShowDoc ShowDoc 2.8.14 – < 3.9.6

References and patches