{"cve":"CVE-2006-4785","nvd":{"published":"2006-09-14T10:07:00.000","modified":"2026-06-16T22:29:47.543","status":"Modified","description":"SQL injection vulnerability in blog/edit.php in Moodle 1.6.1 and earlier allows remote attackers to execute arbitrary SQL commands via the format parameter as stored in the $blogEntry variable, which is not properly handled by the insert_record function, which calls _adodb_column_sql in the adodb layer (lib/adodb/adodb-lib.inc.php), which does not convert the data type to an int.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-89"],"references":["http://docs.moodle.org/en/Release_notes#Moodle_1.6.2","http://secunia.com/advisories/21899","http://securitytracker.com/id?1016877","http://www.attrition.org/pipermail/vim/2006-September/001038.html","http://www.attrition.org/pipermail/vim/2006-September/001040.html"],"products":["moodle:moodle"],"source":"nvd","synced_at":"2026-10-19T19:43:14.363260067+00:00"},"epss":{"cve":"CVE-2006-4785","score":0.03047,"percentile":0.87544,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}