CVE-2026-120203

    Dashboard / Vulnerabilities / CVE-2026-120203

    CVE-2026-120203

    Published: 31 Oct 2026Last Modified: 1 Nov 2026

    Summary: ShowDoc 2.8.14 before 3.9.6 Code Injection via Mock Templates

    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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    v3.9.5
    v3.9.4
    v3.9.3
    v3.9.2
    v3.9.1
    v3.9.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High