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

- Severity: Medium 6.0 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-10-20T15:40:34.083Z
- Modified: 2026-10-21T16:17:23.683Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- jleyva moodle-block_configurablereports: before 5.3.1

## Every score

- VulnCheck: CVSS:4.0 6.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 5.3 Medium `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)
- <https://github.com/jleyva/moodle-block_configurablereports/releases/tag/5.3.1> (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)
- <https://www.vulncheck.com/advisories/configurable-reports-block-for-moodle-before-5.3.1-sql-injection-via-filter-var> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-113608](https://www.cve.org/CVERecord?id=CVE-2026-113608), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-113608](https://nvd.nist.gov/vuln/detail/CVE-2026-113608), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2026-113608 · Whole record: https://cve.day/CVE-2026-113608.json · Rebuilt by cve.day 2026-11-25T22:59:46.069Z
