P2 · HighCVSS 8.8EPSS 0.4%
ShowDoc 2.8.14 before 3.9.6 Code Injection via Mock Templates
- CVE-2026-120203
- GHSA-fm4v-42hr-rpgp
- EUVD-2026-114724
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.
Text from the CVE.org record.
Recommendation
ShowDoc
- If you run a version from 2.8.14 to before 3.9.6update to 3.9.6 or laterMajor version change: expect breaking changes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
ShowDoc
Affected versions Fixed in from 2.8.14 to before 3.9.6 3.9.6
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.