Advisory

GHSA-6mmv-f6c6-v6q8

Also known as: BIT-moodle-2025-67850, CVE-2025-67850

Summary

Moodle vulnerable to Cross-site Scripting

Details

A flaw was found in Moodle. This vulnerability, known as Cross-site Scripting (XSS), occurs due to insufficient checks on user-provided data in the formula editor's arithmetic expression fields. A remote attacker could inject malicious code into these fields. When other users view these expressions, the malicious code would execute in their web browsers, potentially compromising their data or leading to unauthorized actions.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-02-03 12:30 UTC
Modified
2026-02-12 09:25 UTC

Affected packages and fixes

moodle/moodle

Packagist · All systems

Affected

  • introduced 0, fixed 4.1.22 (ecosystem)

Fixed versions

4.1.22

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 4.4.0-beta, fixed 4.4.12 (ecosystem)

Fixed versions

4.4.12

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 4.5.0-beta, fixed 4.5.8 (ecosystem)

Fixed versions

4.5.8

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 5.0.0-beta, fixed 5.0.4 (ecosystem)

Fixed versions

5.0.4

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 5.1.0-beta, fixed 5.1.1 (ecosystem)

Fixed versions

5.1.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences