{"id":"CVE-2026-113608","published":"2026-10-20T15:40:34Z","modified":"2026-10-21T15:54:21Z","title":"Configurable Reports block for Moodle before 5.3.1 SQL Injection via filter_var","vendor":"jleyva","product":"moodle-block_configurablereports","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0043,"percentile":0.28976,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/jleyva/moodle-block_configurablereports/commit/1a9fea4b98b093912c6432ea3705c7b1eff4efc0","tags":["patch"]},{"url":"https://github.com/jleyva/moodle-block_configurablereports/commit/8696899740577559efa274b7a40f3bb4f2b30f32","tags":["patch"]},{"url":"https://github.com/jleyva/moodle-block_configurablereports/releases/tag/5.3.1","tags":["release-notes"]},{"url":"https://github.com/jleyva/moodle-block_configurablereports/blob/5.2.0/reports/sql/report.class.php#L89-L95","tags":["technical-description"]},{"url":"https://github.com/jleyva/moodle-block_configurablereports/blob/5.3.0/reports/sql/report.class.php#L108-L128","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/configurable-reports-block-for-moodle-before-5.3.1-sql-injection-via-filter-var","tags":["third-party-advisory"]}],"priority":{"score":9.5,"factors":[{"name":"EPSS percentile","points":5.8},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"jleyva","affectedVersions":[{"vendor":"jleyva","product":"moodle-block_configurablereports","versions":["< 5.3.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-21T14:24:28.514454Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-105086","exploited":false,"provenance":"source"}}