PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-113608 jleyva CVE debrief

The Configurable Reports block for Moodle before version 5.3.1 contains a SQL injection vulnerability via the filter_var request parameter in viewreport.php. This allows low-privileged users who can view reports using the %%FILTER_VAR%% placeholder to inject subqueries or UNION SELECT statements, potentially reading arbitrary database tables including user password hashes.

Vendor
jleyva
Product
moodle-block_configurablereports
CVSS
MEDIUM 6
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-20
Original CVE updated
2026-10-21
Advisory published
2026-10-20
Advisory updated
2026-10-21

Who should care

Moodle administrators and defenders responsible for securing Moodle deployments should assess exposure and apply necessary patches or mitigations to prevent potential SQL injection attacks.

Why it matters

CVE-2026-113608 is a SQL injection vulnerability in the Configurable Reports block for Moodle before version 5.3.1. Low-privileged users can inject malicious SQL, potentially leading to unauthorized database access and exposure of sensitive data. Defenders should verify exposure, apply patches, and implement input sanitization and access controls.

  • Potential unauthorized database access
  • Possible exposure of sensitive data including user password hashes
  • Need for input sanitization and access controls
  • Verification of patch deployment and configuration

Technical summary

The Configurable Reports block for Moodle before version 5.3.1 is vulnerable to SQL injection via the filter_var request parameter in viewreport.php. Low-privileged users permitted to view reports can inject subqueries or UNION SELECT statements to read arbitrary database tables, including user password hashes. This vulnerability allows for potential unauthorized database access and exposure of sensitive data. Defenders should prioritize verifying exposure and applying patches or mitigations, focusing on restricting access to report viewing and sanitizing user input.

Defensive priority

Defenders should prioritize verifying exposure and applying patches or mitigations, focusing on restricting access to report viewing and sanitizing user input.

Recommended defensive actions

  • Verify Moodle deployments for Configurable Reports block version 5.3.1 or later
  • Restrict access to report viewing for low-privileged users
  • Sanitize user input for the filter_var request parameter
  • Monitor for suspicious database queries
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.

Evidence notes

The CVE record and source item provide details on the SQL injection vulnerability in the Configurable Reports block for Moodle before 5.3.1. The vulnerability is in report_sql::prepare_sql() via the filter_var request parameter of viewreport.php. Limited information is available on actual exploitation or affected deployments.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-113608 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-113608

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-113608 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-113608

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Configurable Reports block for Moodle before 5.3.1 SQL Injection via filter_var

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/113xxx/CVE-2026-113608.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/jleyva/moodle-block_configurablereports/commit/1a9fea4b98b093912c6432ea3705c7b1eff4efc0

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/jleyva/moodle-block_configurablereports/commit/8696899740577559efa274b7a40f3bb4f2b30f32

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/jleyva/moodle-block_configurablereports/releases/tag/5.3.1

    Supplemental source - release-notes

  • Source reference

    Unverified legacy reference

    URL: https://github.com/jleyva/moodle-block_configurablereports/blob/5.2.0/reports/sql/report.class.php

    Supplemental source - technical-description

  • Source reference

    Unverified legacy reference

    URL: https://github.com/jleyva/moodle-block_configurablereports/blob/5.3.0/reports/sql/report.class.php

    Supplemental source - technical-description

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/configurable-reports-block-for-moodle-before-5.3.1-sql-injection-via-filter-var

    Supplemental source - third-party-advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.