CVE Catalog

CVE-2026-120203

HighCVSS 8.8
Published: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.35%

29th percentile - higher than 29% of all known CVEs

Summary

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.

Risk Assessment

An authenticated user can execute arbitrary commands on the server, including as root in the official Docker image. This leads to full host compromise and access to documentation and data.

Recommendation

Upgrade ShowDoc to version 3.9.6 or later. Restrict user account privileges and avoid running the container as root.

Other vulnerabilities in ShowDoc

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS