CVE-2026-120203 ShowDoc 2.8.14 before 3.9.6 Code Injection via Mock Templates
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
ShowDoc
ShowDoc
영향 받는 버전
- 2.8.14 이상 3.9.6 미만
해결 버전
- 3.9.6 이상
참고 자료 5건
- gist.github.com https://gist.github.com/LioTree/028af150fd991cf9924dd2c7d5912e54 (새 창)
- github.com https://github.com/star7th/showdoc (새 창)
- github.com https://github.com/star7th/showdoc/blob/v3.9.5/mock/index.js#L42 (새 창)
- github.com https://github.com/star7th/showdoc/commit/5a2087a3f408f5266f61e9e2fb98845ef4788288 (새 창)
- vulncheck.com https://www.vulncheck.com/advisories/showdoc-2.8.14-before-3.9.6-code-injection-via-mock-templates (새 창)