{"affected":[{"defaultStatus":"unaffected","ecosystem":"composer","packageName":"showdoc/showdoc","product":"ShowDoc","source":"CNA: VulnCheck","vendor":"ShowDoc","versions":[{"lessThan":"3.9.6","status":"affected","version":"2.8.14","versionType":"semver"}]}],"cveId":"CVE-2026-120203","cwes":["CWE-94"],"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.","epss":{"date":"2026-11-06","percentile":0.28977,"score":0.00352},"exploits":[],"kev":null,"metrics":[{"score":8.7,"severity":"high","source":"CNA: VulnCheck","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","version":"4.0"},{"score":8.8,"severity":"high","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"score":8.7,"severity":"high","source":"NVD: disclosure@vulncheck.com","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"score":8.8,"severity":"high","source":"NVD: disclosure@vulncheck.com","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1793991161774,"publishedAt":1793467552170,"references":[{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/star7th/showdoc/commit/5a2087a3f408f5266f61e9e2fb98845ef4788288"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://gist.github.com/LioTree/028af150fd991cf9924dd2c7d5912e54"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/star7th/showdoc/blob/v3.9.5/mock/index.js#L42"},{"source":"CNA: VulnCheck","tags":["product"],"url":"https://github.com/star7th/showdoc"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/showdoc-2.8.14-before-3.9.6-code-injection-via-mock-templates"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://gist.github.com/LioTree/028af150fd991cf9924dd2c7d5912e54"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/star7th/showdoc"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/star7th/showdoc/blob/v3.9.5/mock/index.js#L42"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/star7th/showdoc/commit/5a2087a3f408f5266f61e9e2fb98845ef4788288"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://www.vulncheck.com/advisories/showdoc-2.8.14-before-3.9.6-code-injection-via-mock-templates"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/star7th/showdoc/commit/5a2087a3f408f5266f61e9e2fb98845ef4788288"}],"revision":"7301d896c7098788eee760c148fb2085af98f82c4f74d1a79b5b865d420c54ef","sources":[{"modifiedAt":1793991161774,"name":"CNA: VulnCheck","retrievedAt":1793992223043,"url":"https://www.cve.org/CVERecord?id=CVE-2026-120203"},{"modifiedAt":1793648133347,"name":"NVD","retrievedAt":1793665753563,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120203"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1793992247108,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-120203"}],"ssvc":{"assessedAt":1793991070231,"automatable":"no","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"total"},"status":"published","title":"ShowDoc 2.8.14 before 3.9.6 Code Injection via Mock Templates","updatedAt":1793992247108}