Cross-Site Request Forgery in Moodle
Published Nov 23, 2022 · Updated Nov 3, 2026
Original summary
Normalized public record · Updated Nov 3, 2026
Cross-Site Request Forgery in Moodle
Publisher and source text is retained separately from QFinch interpretation.
QFinch assessment
A vulnerability was found in Moodle which exists due to insufficient validation of the HTTP request origin in course redirect URL. A user's CSRF token was unnecessarily included in the URL when being redirected to a course they have just restored. A remote attacker can trick the victim to visit a specially crafted web page and perform arbitrary actions on behalf of the victim on the vulnerable website. This flaw allows an attacker to perform cross-site request forgery attacks.
Evidence: public source recordsAffected products
| Affected package, product or range | Fix status |
|---|---|
| Consult the referenced vendor advisory for affected versions. | Consult source advisory |
Matching a version is only one part of assessing exposure. QFinch has not assessed your environment on this public page.
Remediation
Apply the vendor-supported fixed release or mitigation, then verify the affected component is no longer reachable.
- Confirm the affected product and reachable code path exist in your environment.
- Apply the vendor-supported patch or mitigation from the primary advisory.
- Rescan the exact deployed revision and retain verification evidence.
Evidence coverage
- SSVC priority
- LOW
- Confidence
- Not available
- Aliases
- None reported
Scores appear only when corresponding evidence exists. Missing data is never interpreted as zero risk.
Sources and record history
- bugzilla.redhat.com ↗
- moodle.org ↗
- git.moodle.org ↗
- FEDORA-2022-f7fdcb1820 ↗
- FEDORA-2022-cb7084ae1c ↗
- FEDORA-2022-74a9c8e95f ↗
Record history
Published Nov 23, 2022 · Last refreshed Nov 3, 2026