Skip to main content
EPSS 0.4%top 69%

moodle: stored XSS via calendar's event title when deleting the event (CVE-2024-38274)

0
Medium
Published: 08/08/2025 (08/08/2025, 06:00:28 UTC)
Source: GCVE Database
Product: moodle

Description

A stored cross-site scripting (XSS) vulnerability exists in Moodle's calendar feature due to insufficient escaping of event titles in the event deletion prompt. This vulnerability affects multiple Moodle versions prior to their respective patches. Exploiting this flaw could allow an attacker to inject malicious scripts that execute in the context of a user's browser when they interact with the event deletion prompt.

Affected software

Bitnamimore threats →ghsa
moodle
pkg:bitnami/moodle
Affected versions
>=4.1.0 <4.1.11>=4.2.0 <4.2.8>=4.3.0 <4.3.5>=4.4.0 <4.4.1

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:43:26 UTC

Technical Analysis

CVE-2024-38274 is a stored XSS vulnerability in Moodle caused by improper escaping of calendar event titles when deleting events. This flaw allows malicious scripts embedded in event titles to execute in users' browsers during the deletion confirmation, potentially leading to session hijacking or other script-based attacks. The vulnerability affects Moodle versions 4.1.0 through before 4.1.11, 4.2.0 through before 4.2.8, 4.3.0 through before 4.3.5, and 4.4.0 before 4.4.1. A patch is available to address this issue.

Potential Impact

The vulnerability enables stored XSS attacks via calendar event titles in Moodle, which could allow attackers to execute arbitrary scripts in the context of authenticated users interacting with the event deletion prompt. This may lead to unauthorized actions such as session hijacking or data theft within the affected Moodle instance. There are no known exploits in the wild at this time.

Mitigation Recommendations

A patch is available for this vulnerability. Users should upgrade to Moodle versions 4.1.11 or later, 4.2.8 or later, 4.3.5 or later, or 4.4.1 or later to remediate the issue. Applying the official fixes will prevent exploitation of the stored XSS vulnerability in calendar event titles.

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-2024-38274
Osv Schema Version
1.6.2
Aliases
["CVE-2024-38274"]
Ecosystems
["Bitnami"]
Database Specific Severity
Medium

Threat ID: 6aa00617acd9273b49ab7785

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

Last enriched: 09/08/2026, 13:43:26 UTC

Last updated: 09/10/2026, 19:36:48 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