CVE-2026-120203

ShowDoc 2.8.14 before 3.9.6 Code Injection via Mock Templates

Published Oct 31, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title ShowDoc 2.8.14 before 3.9.6 Code Injection via Mock Templates
First Time appeared Showdoc
Showdoc showdoc
Weaknesses CWE-94
CPEs cpe:2.3:a:showdoc:showdoc:*:*:*:*:*:*:*:*
Vendors & Products Showdoc
Showdoc showdoc
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 6, 2026, 6:52 PM
Reserved
Oct 31, 2026, 11:44 AM
Status
Deferred
Published
Oct 31, 2026, 6:17 PM
Modified
Nov 6, 2026, 7:17 PM