CVE-2025-26532: Moodle Package Vulnerability Allows Trusttext Configuration Evasion in Glossary Restorations

moodle Updated 02 Oct 2025

Summary

07/08/2025
Yes i
Medium
Not published

CVE-2025-26532: Teachers can evade trusttext config when restoring glossary entries. Affects moodle across 4 version ranges.

>= 4.1.0, < 4.1.16 >= 4.3.0, < 4.3.10 >= 4.4.0, < 4.4.6 >= 4.5.0, < 4.5.2

Fixed in 4 releases; the minimum fixed version depends on the release line you run. How to fix ↓

Also tracked for

The same CVE-2025-26532 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Moodle is an open-source learning platform designed to provide educators, administrators, and learners with a single robust, secure, and integrated system to create personalized learning environments. It offers a wide range of features, including course management, user management, and content delivery. However, certain versions of Moodle are susceptible to a vulnerability that allows teachers to bypass trusttext configuration when restoring glossary entries, potentially leading to security risks.

Vulnerability Detail

The vulnerability arises from insufficient checks in the restoration process of glossary entries when the trusttext feature is enabled. This oversight allows teachers to manipulate glossary entries in a way that could compromise the integrity of the content being restored. If exploited, this could lead to unauthorized content being displayed, which may affect the learning environment and user trust.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 4.1.0, < 4.1.16 4.1.16
  • >= 4.3.0, < 4.3.10 4.3.10
  • >= 4.4.0, < 4.4.6 4.4.6
  • >= 4.5.0, < 4.5.2 4.5.2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. It is highly recommended to apply the patch as soon as possible to mitigate any risks.

Conclusion

In summary, CVE-2025-26532 presents a significant risk to Moodle installations, allowing unauthorized manipulation of glossary entries. It is essential for users to update to the patched versions to ensure the security and integrity of their learning environments.

See every vulnerability recorded for moodle →

Share this vulnerability

FAQ

CVE-2025-26532 is a vulnerability in the Moodle package that allows teachers to bypass trusttext configuration when restoring glossary entries.

The affected versions include Moodle 4.1.0 to 4.1.15, 4.3.0 to 4.3.9, 4.4.0 to 4.4.5, and 4.5.0 to 4.5.1.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Simply upload your manifest file like package-lock.json to check for vulnerabilities.

While there are no specific workarounds, it is crucial to monitor the situation and apply the patch as soon as possible to avoid potential exploitation.

You can find detailed information about CVE-2025-26532 on the official GitHub repository and vulnerability databases.

Related vulnerabilities

Recent vulnerabilities recorded for moodle.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 4.1.0, < 4.1.16 4.1.16
  • >= 4.3.0, < 4.3.10 4.3.10
  • >= 4.4.0, < 4.4.6 4.4.6
  • >= 4.5.0, < 4.5.2 4.5.2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback