1. Home
  2. Vulnerabilities
  3. CVE-2026-120203

CVE-2026-120203

ShowDoc 2.8.14 before 3.9.6 Code Injection via Mock Templates

Published 31 Oct 2026 · modified 6 Nov 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Medium 45/100

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.

Affected products and versions

Showdoc (1 line(s))
Showdoc
ProductVersionsFixed inSource
Showdoc from 2.8.14 (included) to 3.9.6 (excluded) — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Weakness
CWE-94 · Injection de commandes / code

How this data is obtained and calculated