{"id":"CVE-2026-120203","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-120203","summary":"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…","details":"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.","published":"2026-10-31T18:17:08.237","modified":"2026-10-31T18:17:08.237","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":{"url":"https://github.com/star7th/showdoc/commit/5a2087a3f408f5266f61e9e2fb98845ef4788288","label":"star7th/showdoc@5a2087a"},"references":[{"type":"WEB","url":"https://gist.github.com/LioTree/028af150fd991cf9924dd2c7d5912e54"},{"type":"WEB","url":"https://github.com/star7th/showdoc"},{"type":"WEB","url":"https://github.com/star7th/showdoc/blob/v3.9.5/mock/index.js#L42"},{"type":"WEB","url":"https://github.com/star7th/showdoc/commit/5a2087a3f408f5266f61e9e2fb98845ef4788288"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/showdoc-2.8.14-before-3.9.6-code-injection-via-mock-templates"}],"provenance":{"sources":["OSV.dev","NVD","FIRST.org (EPSS)"],"lastVerified":"2026-10-31T18:17:08.237"}}