CVE-2026-113608
published medium CVSS 4.0 · 6.0Configurable Reports block for Moodle before 5.3.1 SQL Injection via filter_var
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jleyva | — | moodle-block_configurablereports0 to < 5.3.1 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jleyva | moodle-block_configurablereports | 0 to < 5.3.1 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
6- https://github.com/jleyva/moodle-block_configurablereports/blob/5.2.0/reports/sql/report.class.php#L89-L95
- https://github.com/jleyva/moodle-block_configurablereports/blob/5.3.0/reports/sql/report.class.php#L108-L128
- https://github.com/jleyva/moodle-block_configurablereports/commit/1a9fea4b98b093912c6432ea3705c7b1eff4efc0
- https://github.com/jleyva/moodle-block_configurablereports/commit/8696899740577559efa274b7a40f3bb4f2b30f32
- moodle-block_configurablereports 5.3.1 Release Notes https://github.com/jleyva/moodle-block_configurablereports/releases/tag/5.3.1
- VulnCheck Advisory: Configurable Reports block for Moodle before 5.3.1 SQL Injection via filter_var https://www.vulncheck.com/advisories/configurable-reports-block-for-moodle-before-5.3.1-sql-injection-via-filter-var
Provider assertions
2VulnCheck · cna
Configurable Reports block for Moodle before 5.3.1 SQL Injection via filter_var
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 10a6b7a5872aa5ae204288416a1191c235c631d3a8c9a228b37f59ac09ab8c9d
- Ingested
- 21 Oct 2026, 15:58:42 UTC
- Source record
- Official CVE record