VYPR
Medium severity5.4NVD Advisory· Published Nov 23, 2022· Updated Jun 17, 2026

CVE-2022-45149

CVE-2022-45149

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
moodle/moodlePackagist
>= 3.9.0, < 3.9.183.9.18
moodle/moodlePackagist
>= 3.11.0, < 3.11.113.11.11
moodle/moodlePackagist
>= 4.0.0, < 4.0.54.0.5

Affected products

7
  • ghsa-coords2 versions
    >= 3.9.0, < 3.9.18+ 1 more
    • (no CPE)range: >= 3.9.0, < 3.9.18
    • (no CPE)range: >= 3.9.0, < 3.9.18
  • Moodle/Moodlecpe-rescue2 versions
    (expand)+ 1 more
    • (no CPE)
    • cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*range: >=3.9.0,<3.9.18
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*+ 2 more
    • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
    • cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
    • cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*

Patches

Vulnerability mechanics

References

10

News mentions

0

No linked articles in our index yet.