CVE-2025-26528
PHP vulnerability analysis and mitigation

Overview

The CVE-2025-26528 vulnerability affects the drag-and-drop onto image (ddimageortext) question type in Moodle, which required additional sanitizing to prevent a stored Cross-Site Scripting (XSS) risk. The vulnerability was discovered by Vincent Schneider (cli-ish) and was disclosed on February 18, 2025. The affected versions include Moodle 4.5 to 4.5.1, 4.4 to 4.4.5, 4.3 to 4.3.9, 4.1 to 4.1.15, and earlier unsupported versions (Moodle Forum).

Technical details

The vulnerability is classified as a stored XSS (CWE-79) issue in the drag-and-drop onto image question type component. The CVSS v3.1 base score is 3.4 (LOW) with the vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:N, indicating that it is a network-accessible vulnerability requiring high attack complexity, no privileges, and user interaction (NVD).

Impact

The vulnerability allows for stored Cross-Site Scripting attacks, which could potentially allow attackers to inject malicious scripts that would be executed when users view the affected question type. The severity is rated as Minor according to Moodle's security assessment (Moodle Forum).

Mitigation and workarounds

The vulnerability has been fixed in Moodle versions 4.5.2, 4.4.6, 4.3.10, and 4.1.16. Users are advised to upgrade to these patched versions to mitigate the risk (Moodle Forum).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management