Skip to content
Fencer Vulns
critical 9.8

CVE-2017-2641 in the critical feed json

Moodle SQL injection via user preferences

published 2017-03-26 9 y ago modified 2026-06-17 4 mo ago also GHSA-xhq3-455r-xv44 , EUVD-2022-5800

cvss
9.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
14.5%
EPSS 14.5% chance of exploitation in 30 days, percentile 96%
public exploits
1
Exploit-DB

Summary

In Moodle 2.x and 3.x, SQL injection can occur via user preferences.

Patch / fix

  • packagist moodle/moodle 2.7.19, 3.0.9, 3.1.5, 3.2.2

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-2641 updated

moodle: Multiple security vulnerabilities

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. Published
  2. First public exploit (EDB-41828)

Exploit prediction

14.53% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • EDB-41828 Moodle 2.x/3.x - SQL Injection webapps, 2017-04-06

CVSS scores

assigned by version score vector
NVD 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
GitHub 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
packagist moodle/moodle
>=2.7, <2.7.19
>=3.0, <3.0.9
>=3.1, <3.1.5
>=3.2, <3.2.2
2.7.19
3.0.9
3.1.5
3.2.2

Affected products

  • n/a Moodle 2.x and 3.x

Classification

Weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.