CVE-2026-120203

Source
https://cve.org/CVERecord?id=CVE-2026-120203
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120203.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-120203
Published
2026-10-31T17:25:52Z
Modified
2026-11-08T02:30:19Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-94"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120203.json"
}
References

Affected packages

Git / github.com/star7th/showdoc

Affected ranges

Type
GIT
Repo
https://github.com/star7th/showdoc
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "2.8.14"
                },
                {
                    "fixed":  "3.9.6"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "5a2087a3f408f5266f61e9e2fb98845ef4788288"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "introduced":  "2.8.14"
                },
                {
                    "fixed":  "3.9.6"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}

Affected versions

2.*
2.8.14
v2.*
v2.10.0
v2.10.1
v2.10.10
v2.10.2
v2.10.3
v2.10.4
v2.10.5
v2.10.6
v2.10.7
v2.10.8
v2.10.9
v2.8.15
v2.8.16
v2.9.0
v2.9.1
v2.9.10
v2.9.11
v2.9.12
v2.9.13
v2.9.14
v2.9.15
v2.9.2
v2.9.3
v2.9.4
v2.9.5
v2.9.6
v2.9.7
v2.9.8
v2.9.9
v3.*
v3.0.0
v3.0.1
v3.0.2
v3.0.3
v3.1.0
v3.2.0
v3.2.1
v3.2.2
v3.2.3
v3.2.4
v3.2.5
v3.2.6
v3.3.0
v3.3.1
v3.4.0
v3.4.1
v3.5.0
v3.5.1
v3.6.0
v3.6.1
v3.6.2
v3.7.1
v3.7.2
v3.7.3
v3.8.0
v3.8.1
v3.8.2
v3.8.3
v3.8.4
v3.9.0
v3.9.1
v3.9.2
v3.9.3
v3.9.4
v3.9.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120203.json"