CVE-2026-113608: Configurable Reports block for Moodle before 5.3.1 SQL Injection via filter_var

Published Oct 20, 2026
·
Updated

Configurable Reports block for Moodle (moodle-blockconfigurablereports) before 5.3.1 contains an sql injection vulnerability in reportsql::preparesql() via the filtervar request parameter of viewreport.php. Low-privileged users permitted to view reports using the %%FILTERVAR%% placeholder can inject subqueries or UNION SELECT to read arbitrary database tables, including user password hashes.

Affected Software

1 affected component
Moodle Configurable Reports block<5.3.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade moodle-block_configurablereports to a version that resolves this vulnerability.

    Fixed in 5.3.1

Event History

Oct 20, 2026
CVE Published
via MITRE·03:40 PM
Data Sourced
via MITRE·03:40 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

A low-privileged user can exploit it if they are permitted to view a report that uses the %%FILTER_VAR%% placeholder. The issue is remotely reachable through viewreport.php, but exploitation has high attack complexity.

2

What data could an attacker access?

An attacker can inject subqueries or UNION SELECT statements to read arbitrary database tables. This can include Moodle user password hashes.

3

Which versions are affected?

Versions of the Configurable Reports block before 5.3.1 are affected. Version 5.3.1 is the referenced fixed release.

4

What can be done if upgrading is not immediately possible?

Restrict low-privileged users from viewing reports that use the %%FILTER_VAR%% placeholder. Review report access permissions and report definitions to identify users and reports exposed to the vulnerable parameter.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203