Advisory

GHSA-j6cv-98jx-mrwr

Also known as: CVE-2024-35374, PYSEC-2026-426

Summary

Mocodo vulnerable to SQL injection in /web/generate.php

Details

Mocodo Mocodo Online 4.2.6 and below does not properly sanitize the sql_case input field in /web/generate.php, allowing remote attackers to execute arbitrary SQL commands and potentially command injection, leading to remote code execution (RCE) under certain conditions.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2024-05-28 20:20 UTC
Modified
2026-11-16 15:45 UTC

Affected packages and fixes

mocodo

PyPI · All systems

Affected

  • introduced 0, fixed 4.2.7 (ecosystem)

Fixed versions

4.2.7

Fix

  • Fixed version 4.2.7
    pip install --upgrade mocodo==4.2.7

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences