CVE-2025-26528: Stored XSS in ddimageortext question type

Published Feb 24, 2025
·
Updated

The drag-and-drop onto image (ddimageortext) question type required additional sanitizing to prevent a stored XSS risk.

Affected Software

8 affected componentsFixes available
composer/moodle/moodle<4.1.16
4.1.16
composer/moodle/moodle>=4.3.0-beta<4.3.10
4.3.10
composer/moodle/moodle>=4.4.0-beta<4.4.6
4.4.6
composer/moodle/moodle>=4.5.0-beta<4.5.2
4.5.2
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

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/moodle/moodle to a version that resolves this vulnerability.

    Fixed in 4.1.16
  2. Upgrade

    Upgrade composer/moodle/moodle to a version that resolves this vulnerability.

    Fixed in 4.3.10
  3. Upgrade

    Upgrade composer/moodle/moodle to a version that resolves this vulnerability.

    Fixed in 4.4.6
  4. Upgrade

    Upgrade composer/moodle/moodle to a version that resolves this vulnerability.

    Fixed in 4.5.2

Event History

Feb 24, 2025
CVE Published
via MITRE·07:50 PM
Data Sourced
via MITRE·07:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
RemedyAffected Software
Advisory Published
via GitHub·09:31 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-26528?

CVE-2025-26528 has been classified as a medium severity vulnerability due to its potential for stored cross-site scripting (XSS) attacks.

2

How do I fix CVE-2025-26528?

To fix CVE-2025-26528, upgrade your Moodle installation to version 4.1.16 or later, or to any of the patched versions specified.

3

What does CVE-2025-26528 affect?

CVE-2025-26528 affects specific versions of Moodle, primarily those prior to 4.1.16, and between versions 4.3.0-beta and 4.3.10, 4.4.0-beta and 4.4.6, and 4.5.0-beta and 4.5.2.

4

Is it possible to exploit CVE-2025-26528?

Yes, CVE-2025-26528 can be exploited by attackers to execute malicious scripts in the context of a user's session through stored XSS.

5

What is the nature of the vulnerability in CVE-2025-26528?

CVE-2025-26528 is a stored XSS vulnerability that requires additional sanitization of user input on the drag-and-drop onto image question type.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203