Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2022-45149

Cross-Site Request Forgery in Moodle

Overview

Published
23 Nov 2022
Modified
17 Jun 2026
Medium CVE
2 Registry packages
0 OS packages
0 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

5.4 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Weakness: CWE-352

Affected packages · 2

Packages affected by CVE-2022-45149
EcosystemPackageVulnerableFixed in
Bitnami moodle >=3.9.0, <3.9.18>=3.11.0, <3.11.11>=4.0.0, <4.0.5 3.9.183.11.114.0.5
Composer (PHP) moodle/moodle >=3.9.0, <3.9.18>=3.11.0, <3.11.11>=4.0.0, <4.0.5 3.9.183.11.114.0.5

Open a package to see all its vulnerabilities.

Operating systems

No Linux distribution reports this ID.

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.