Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
ShowDoc ShowDoc
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

ShowDoc 2.8.14 至 3.9.6 之前的版本中,其 Mock 功能存在代码注入漏洞。该漏洞允许已认证用户通过 mockjs 模板执行 Shell 命令。攻击者可通过 MockController::add 方法存储包含转义括号的模板,这些模板会被 mockjs 使用 eval() 函数评估;随后,攻击者可通过 MockController::infoByKey 方法触发该模板,从而以 root 权限(在官方 Docker 镜像中)执行命令。

CVSS 8.8 · High

Affected Version Matrix 1

VendorProduct Version RangeStatus
ShowDoc ShowDoc 2.8.14< 3.9.6 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-120203

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ShowDoc 2.8.14 before 3.9.6 Code Injection via Mock Templates
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
ShowDoc ShowDoc 2.8.14 ~ 3.9.6 -

II. Public POCs for CVE-2026-120203

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-120203

请登录查看更多情报信息。

Vendor Pages for CVE-2026-120203 (1)

Other References for CVE-2026-120203 (4)

IV. Related Vulnerabilities