CVE-2026-120203
ShowDoc 2.8.14 before 3.9.6 contains a code injection vulnerability …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- gist.github.com/LioTree/028af150fd991cf9924dd2c7d5912e54
- github.com/star7th/showdoc
- github.com/star7th/showdoc/blob/v3.9.5/mock/index.js#L42
- github.com/star7th/showdoc/commit/5a2087a3f408f5266f61e9e2fb98845ef4788288
- www.vulncheck.com/advisories/showdoc-2.8.14-before-3.9.6-code-injection-via-mock-templates
- nvd.nist.gov/vuln/detail/CVE-2026-120203
- cve.org/CVERecord?id=CVE-2026-120203
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.