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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.0
- **CVSS:** 6.0 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.43% (percentile 29, 2026-11-28)
- **CWE:** CWE-89
- **Published:** 2026-10-20T15:40:34.083Z
- **Modified:** 2026-10-21T16:17:23.683Z

## Who should check

- Anyone running jleyva moodle-block\_configurablereports \< 5.3.1

## 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 and fixed versions

- jleyva moodle-block\_configurablereports: \< 5.3.1 (cvelist)

## Mitigation

- Upgrade moodle-block\_configurablereports to 5.3.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-113608. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-113608.md
Affected: jleyva moodle-block_configurablereports < 5.3.1
Fixed in: jleyva moodle-block_configurablereports 5.3.1

Steps:
1. Search this machine and project for jleyva moodle-block_configurablereports: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-113608 being exploited?

There is no confirmed exploitation: CVE-2026-113608 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.43% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-113608?

Medium: CVSS 6.0 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-113608?

jleyva moodle-block\_configurablereports \< 5.3.1.

### Is there a fix for CVE-2026-113608?

Yes. Fixed in jleyva moodle-block\_configurablereports 5.3.1. Upgrade moodle-block\_configurablereports to 5.3.1 or later.

### How do I check if I'm affected by CVE-2026-113608?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/jleyva/moodle-block_configurablereports/commit/1a9fea4b98b093912c6432ea3705c7b1eff4efc0>
- patch: <https://github.com/jleyva/moodle-block_configurablereports/commit/8696899740577559efa274b7a40f3bb4f2b30f32>
- article: <https://github.com/jleyva/moodle-block_configurablereports/blob/5.2.0/reports/sql/report.class.php#L89-L95>
- article: <https://github.com/jleyva/moodle-block_configurablereports/blob/5.3.0/reports/sql/report.class.php#L108-L128>
- other: <https://github.com/jleyva/moodle-block_configurablereports/releases/tag/5.3.1>
- other: <https://www.vulncheck.com/advisories/configurable-reports-block-for-moodle-before-5.3.1-sql-injection-via-filter-var>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-113608>

HTML: <https://flawdb.com/CVE-2026-113608> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-113608>
