CVE-2025-26525Moodle
High 8.6 No auth needed
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 3.1
- 8.6
- EPSS
- —
- Auth required
- No
- Published
- Feb 24, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-552
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
What happens
Insufficient sanitizing in the TeX notation filter resulted in an
arbitrary file read risk on sites where pdfTeX is available (such as
those with TeX Live installed).
What to do
- Apply the vendor's security update for Moodle.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | moodle/moodle |
≥ 4.5.0-beta < 4.5.2 |
4.5.2 |
composer require "moodle/moodle:^4.5.2" |
| Packagist | moodle/moodle |
≥ 4.4.0-beta < 4.4.6 |
4.4.6 |
composer require "moodle/moodle:^4.4.6" |
| Packagist | moodle/moodle |
≥ 4.3.0-beta < 4.3.10 |
4.3.10 |
composer require "moodle/moodle:^4.3.10" |
| Packagist | moodle/moodle |
< 4.1.16 |
4.1.16 |
composer require "moodle/moodle:^4.1.16" |
Per OSV / GitHub Advisories (GHSA-4hmr-39vp-xfrr). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | ≥ 4.1.0 < 4.1.16 |
| moodle | moodle | ≥ 4.3.0 < 4.3.10 |
| moodle | moodle | ≥ 4.4.0 < 4.4.6 |
| moodle | moodle | ≥ 4.5.0 < 4.5.2 |
Official sources
References
Links published by the sources. Open them with care.
- git.moodle.org Patch
- moodle.org Vendor Advisory