Skip to main content
EPSS 0.3%top 79%

Moodle: Stored XSS in ddimageortext question type (CVE-2025-26528)

0
Medium
Published: 08/10/2025 (08/10/2025, 23:48:20 UTC)
Source: GCVE Database
Product: moodle

Description

A stored cross-site scripting (XSS) vulnerability exists in the drag-and-drop onto image (ddimageortext) question type in Moodle. This issue arises due to insufficient sanitization of input, allowing malicious scripts to be stored and potentially executed when the content is viewed. The vulnerability affects multiple Moodle versions prior to their respective patches. A fix has been made available to address this sanitization deficiency.

Affected software

Bitnamimore threats →ghsa
moodle
pkg:bitnami/moodle
Affected versions
>=4.1.0 <4.1.16>=4.3.0 <4.3.10>=4.4.0 <4.4.6>=4.5.0 <4.5.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 13:41:46 UTC

Technical Analysis

The drag-and-drop onto image (ddimageortext) question type in Moodle versions 4.1.0 through before 4.1.16, 4.3.0 through before 4.3.10, 4.4.0 through before 4.4.6, and 4.5.0 through before 4.5.2 contains a stored XSS vulnerability. This occurs because the input is not sufficiently sanitized, allowing malicious scripts to be stored and later executed in users' browsers. The vulnerability has been assigned CVE-2025-26528 and is rated medium severity. A patch is available and referenced in the Moodle Git repository under commit MDL-82896.

Potential Impact

Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts that are stored on the server and executed in the context of users viewing the affected question type. This could lead to session hijacking, defacement, or other client-side attacks. However, there are no known exploits in the wild at this time.

Mitigation Recommendations

A patch addressing this stored XSS vulnerability is available and should be applied. The affected Moodle versions are those prior to 4.1.16, 4.3.10, 4.4.6, and 4.5.2 respectively. Administrators should upgrade to these fixed versions or later to remediate the issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
BIT-moodle-2025-26528
Osv Schema Version
1.6.2
Aliases
["CVE-2025-26528"]
Ecosystems
["Bitnami"]
Database Specific Severity
Medium

Threat ID: 6aa00612acd9273b49ab73b3

Added to database: 09/08/2026, 12:56:50 UTC

Last enriched: 09/08/2026, 13:41:46 UTC

Last updated: 09/10/2026, 19:36:49 UTC

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses