Advisory record · GHSA-97qf-pq7x-964m

Moodle Cross-site Scripting vulnerability

CVSS 6.1 MediumEPSS 0.0089 · 57th percentile

Published by the GitHub Advisory Database at 17 Feb 2023, 21:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
moodle/moodlePackagist<3.9.19 || >=3.10.0, <3.11.12 || >=4.0.0-beta, <4.0.6 || >=4.1.0-beta, <4.1.13.9.19, 3.11.12, 4.0.6, 4.1.1
Identifiers
GHSA-97qf-pq7x-964m · BIT-moodle-2023-23921 · CVE-2023-23921 · PKSA-j8km-3bqv-4yq3
Weakness (CWE)
CWE-79
Published
17 Feb 2023
Updated
6 Dec 2023

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Moodle (moodle/moodle) versions before 3.9.19, from 3.10.0 before 3.11.12, from 4.0.0-beta before 4.0.6, and from 4.1.0-beta before 4.1.1 are vulnerable to cross-site scripting through insufficiently sanitized returnurl parameters. A remote attacker can trick a user into following a crafted link to run arbitrary script in the user's browser within the Moodle site. Upgrade to 3.9.19, 3.11.12, 4.0.6, 4.1.1, or a later release.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.1 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0089, the 57th percentile, on 25 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:32 UTC First seen by agentprime
  2. 31 Oct 2026, 14:32 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.