CVE-2025-26530 — Vulnerability in moodle/moodle — CVE Details
Moodle allows reflected XSS via question bank filter
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.64%). Schedule for your next planned update.
Does your project use an affected moodle/moodle version?
Paste your composer.lock to check it for CVE-2025-26530 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
The question bank filter required additional sanitizing to prevent a reflected XSS risk.
Advisory Timeline
- First published February 24, 2025 (640 days ago).
- Last revised August 12, 2025 — 168 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "moodle/moodle:^4.5.2"
composer require "moodle/moodle:^4.4.6"
composer require "moodle/moodle:^4.3.10"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: Packagist (1).
| Package | Fixed In |
|---|---|
| moodle/moodle Packagist · Affected: v4.5.0, v4.5.0-beta, v4.5.0-rc1, v4.5.0-rc2 (+1 more) | 4.5.2 |
| moodle/moodle Packagist · Affected: v4.4.0, v4.4.0-beta, v4.4.0-rc1, v4.4.0-rc2 (+5 more) | 4.4.6 |
| moodle/moodle Packagist · Affected: v4.3.0, v4.3.0-beta, v4.3.0-rc1, v4.3.0-rc2 (+9 more) | 4.3.10 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.3 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2025-26530?
- Moodle allows reflected XSS via question bank filter. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.3/10).
- How do I check if my project is affected by CVE-2025-26530?
- CVE-2025-26530 affects moodle/moodle. It has a 0.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-26530 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 45.3% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2022-40315CRITICAL
Moodle Minor SQL injection risk in admin user browsing
- CVE-2023-28333CRITICAL
Moodle's Mustache pix helper contained a potential Mustache injection risk if combined with user input
- CVE-2021-36392CRITICAL
Moodle SQL Injection vulnerability
- CVE-2022-30600CRITICAL
Incorrect Calculation in moodle
- CVE-2017-2641CRITICAL
Moodle SQL injection via user preferences
- CVE-2022-35649CRITICAL
Moodle PostScript Code Injection
- CVE-2025-26533HIGH
Moodle has a SQL injection risk in course search module list filter
- CVE-2025-26529HIGH
Moodle has a stored XSS risk in admin live log