Packagist
CVE-2026-120203
ShowDoc 2.8.14 before 3.9.6 Code Injection via Mock Templates
- Severity
- High 8.7
- Published
- 31 Oct 2026
- Last changed
- 6 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 3.9.6
- Exploit chance
- 0.4% in the next 30 daysHigher than 29% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Code injection (CWE-94)
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read data · Change data · Take it down
- 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- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
showdoc/showdocPackagist · osv:Packagist:showdoc/showdoc |
|
About showdoc/showdoc
- Monthly downloads (Packagist)
- 13Packagist, 24 Nov 2026
- Total downloads (Packagist)
- 7,070Packagist, 24 Nov 2026
This is the only vulnerability in showdoc/showdoc in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-120203