{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-2641","id":"CVE-2017-2641","title":"Moodle SQL injection via user preferences","description":"In Moodle 2.x and 3.x, SQL injection can occur via user preferences.","descriptionLong":"In Moodle 2.x and 3.x, SQL injection can occur via user preferences.","published":"2017-03-26T18:00:00.000Z","updated":"2026-10-24T10:30:55.376134440Z","reserved":"2016-12-01T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":["Moodle 2.x and 3.x"],"affectedProducts":[{"vendor":"n/a","product":"Moodle 2.x and 3.x","defaultStatus":null,"versions":[{"status":"affected","version":"Moodle 2.x and 3.x"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"moodle/moodle","purl":"pkg:composer/moodle/moodle","ranges":[">=2.7 <2.7.19",">=3.0 <3.0.9",">=3.1 <3.1.5",">=3.2 <3.2.2"],"fixed":["2.7.19","3.0.9","3.1.5","3.2.2"],"advisory":"GHSA-xhq3-455r-xv44"}],"cwes":["CWE-89"],"aliases":["GHSA-xhq3-455r-xv44"],"references":[{"url":"https://www.exploit-db.com/exploits/41828/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/96977","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=349419","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"http://www.securitytracker.com/id/1038174","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-2641","tags":["advisory"]},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://www.exploit-db.com/exploits/41828","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.1453,"epssPercentile":0.96707,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-2641","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-2641","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-2641","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xhq3-455r-xv44","ok":true,"note":"GHSA-xhq3-455r-xv44"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-2641","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":["EPSS 15% with CVSS 9.8"],"attention":null}