CVEsShowDocCVE-2026-120203Published Oct 31, 17:25 · Updated Oct 31, 17:25 UTC
8.8
HighCVSS 3.1 · from VulnCheck
CVE-2026-120203

ShowDoc 2.8.14 before 3.9.6 Code Injection via Mock Templates

ShowDoc · Code injection · CWE-94
AffectedShowDoc
FixUpdate to 3.9.6 or newer
PublishedOct 31, 17:25 · VulnCheck
ScoredOct 31 · 8.8 · VulnCheck
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:04 UTC

What we know

No known exploitation. CISA KEV, checked 22:04 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker needs network access and an account. CVSS: network, low privileges.
A successful attack can read and change data and take the service down. CVSS: high impact on confidentiality, integrity and availability.

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.

From VulnCheck

Affected and fixed versions

ProductAffectedFixed inShowDoc2.8.14 – before 3.9.63.9.6

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

Patch Commit · github.compatchgist.github.com/LioTree/028af150fd991cf9924dd2c7d5912e54 · gist.github.comtechnical descriptiongithub.com/star7th/showdoc/blob/v3.9.5/mock/index.js#L42 · github.comtechnical descriptiongithub.com/star7th/showdoc · github.comproductVulnCheck Advisory: ShowDoc 2.8.14 before 3.9.6 Code Injection via Mock Templates · vulncheck.comthird party advisory

Other CVEs in ShowDoc

All 1 →
9.4ShowDoc < 2.8.7 Unauthenticated File Upload Remote Code Execution · CVE-2025-0520Apr 29, 2025