Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Mocodo versions below 4.2.7 do not properly sanitize the sql_case input field in /web/generate.php. A remote attacker without authentication can inject arbitrary SQL commands, which may lead to command injection and, under certain conditions, remote code execution. Upgrade to Mocodo 4.2.7 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 9.8 | Critical | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | OSV |
- CISA KEV Not listed.
- EPSS 0.028, the 86th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 15:04 UTC First seen by agentprime
- 31 Oct 2026, 15:04 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-j6cv-98jx-mrwr
- OSV: GHSA-j6cv-98jx-mrwr
- nvd.nist.gov/vuln/detail/CVE-2024-35374
- github.com/laowantong/mocodo/commit/f9368df28518b6c4a92fd207c260f1978ec34d6e
- chocapikk.com/posts/2024/mocodo-vulnerabilities
- github.com/laowantong/mocodo
- github.com/laowantong/mocodo/blob/11ca879060a68e06844058cd969c6379214cc2a8/web/generate.php#L104-L158
- pypi.org/project/mocodo
- github.com/advisories/GHSA-j6cv-98jx-mrwr