Vulnerability · Published Oct 20, 2026 · Assigned by VulnCheck
CVE-2026-113608Configurable Reports block for Moodle before 5.3.1 SQL Injection via filter_var
Medium 5.3
In plain English
A medium-severity SQL injection in moodle-block_configurablereports from jleyva. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities).
Official description
Configurable Reports block for Moodle (moodle-block_configurablereports) before 5.3.1 contains an sql injection vulnerability in report_sql::prepare_sql() via the filter_var request parameter of viewreport.php. Low-privileged users permitted to view reports using the %%FILTER_VAR%% placeholder can inject subqueries or UNION SELECT to read arbitrary database tables, including user password hashes.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| jleyva | moodle-block_configurablereports | 0 – before 5.3.1 |
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/jleyva/moodle-block_configurablereports/commit/1a9fea4b98b093912c6432ea3705c7b1eff4efc0 patch
- https://github.com/jleyva/moodle-block_configurablereports/commit/8696899740577559efa274b7a40f3bb4f2b30f32 patch
- moodle-block_configurablereports 5.3.1 Release Notes release-notes
- https://github.com/jleyva/moodle-block_configurablereports/blob/5.2.0/reports/sql/report.class.php#L89-L95 technical-description
- https://github.com/jleyva/moodle-block_configurablereports/blob/5.3.0/reports/sql/report.class.php#L108-L128 technical-description
- VulnCheck Advisory: Configurable Reports block for Moodle before 5.3.1 SQL Injection via filter_var third-party-advisory