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.
Metrics
Affected Vendors & Products
References
History
Sat, 07 Nov 2026 07:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Sat, 31 Oct 2026 17:30:00 +0000
| 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
|
Status: PUBLISHED
Assigner: VulnCheck
Published: 2026-10-31T17:25:52.170Z
Updated: 2026-11-06T18:52:41.774Z
Reserved: 2026-10-31T11:44:47.454Z
Link: CVE-2026-120203
Updated: 2026-11-06T18:52:30.935Z
Status : Deferred
Published: 2026-10-31T18:17:08.237
Modified: 2026-11-06T19:17:40.703
Link: CVE-2026-120203
No data.