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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://gist.github.com/LioTree/028af150fd991cf9924dd2c7d5912e54
- https://github.com/star7th/showdoc
- https://github.com/star7th/showdoc/blob/v3.9.5/mock/index.js#L42
- https://github.com/star7th/showdoc/commit/5a2087a3f408f5266f61e9e2fb98845ef47882
- https://www.vulncheck.com/advisories/showdoc-2.8.14-before-3.9.6-code-injection-
FAQ
What is CVE-2026-120203?
CVE-2026-120203 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 templa...
How severe is CVE-2026-120203?
CVE-2026-120203 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-120203?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.