Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 69%

moodle: stored XSS risk when editing another user's equation in equation editor (CVE-2024-33997)

0
Medium
Published: 05/31/2025 (05/31/2025, 05:57:07 UTC)
Source: GCVE Database
Product: moodle

Description

A stored cross-site scripting (XSS) vulnerability exists in Moodle's equation editor when editing another user's equation. This occurs due to insufficient sanitization when opening the equation editor, allowing malicious scripts to be stored and potentially executed. The issue affects multiple Moodle versions prior to specific patched releases. A patch is available to address this vulnerability.

Affected software

Bitnamimore threats →ghsa
moodle
pkg:bitnami/moodle
Affected versions
<4.1.10>=4.2.0 <4.2.7>=4.3.0 <4.3.4

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:45:04 UTC

Technical Analysis

CVE-2024-33997 is a stored XSS vulnerability in Moodle that arises from inadequate sanitization when users open the equation editor to edit equations created by other users. This flaw allows malicious scripts to be stored within the equation content, which could be executed in the context of users viewing or editing the affected equations. The vulnerability affects Moodle versions prior to 4.1.10, versions from 4.2.0 up to but not including 4.2.7, and versions from 4.3.0 up to but not including 4.3.4. The vulnerability has been assigned a medium severity rating, and a patch is available to mitigate the risk.

Potential Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary scripts in the context of users interacting with the equation editor, potentially leading to session hijacking, unauthorized actions, or data exposure within the Moodle environment. However, there are no known exploits in the wild at this time.

Mitigation Recommendations

A patch is available for this vulnerability. Users should upgrade Moodle to versions 4.1.10 or later, 4.2.7 or later, or 4.3.4 or later to remediate the issue. Applying these updates will ensure that the additional sanitization required to prevent stored XSS when editing another user's equation is in place.

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

Threat ID: 6aa00618acd9273b49ab77b7

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

Last enriched: 09/08/2026, 13:45:04 UTC

Last updated: 09/09/2026, 02:39:20 UTC

Views: 11

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