CVE-2026-120203 PUBLISHED

ShowDoc 2.8.14 before 3.9.6 Code Injection via Mock Templates

Assigner: VulnCheck
Reserved: 31.10.2026 Published: 31.10.2026 Updated: 31.10.2026

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

CVSS 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
CVSS Score: 8.7

Product Status

Vendor ShowDoc
Product ShowDoc
Versions Default: unaffected
  • affected from 2.8.14 to 3.9.6 (excl.)

Credits

  • LionTree finder
  • star7th remediation developer

References

Problem Types

  • Improper Control of Generation of Code ('Code Injection') CWE