CVE-2024-25982
PHP vulnerability analysis and mitigation

Overview

A Cross-Site Request Forgery (CSRF) vulnerability was identified in Moodle's language import utility, tracked as CVE-2024-25982. The vulnerability affects Moodle versions 4.3 to 4.3.2, 4.2 to 4.2.5, 4.1 to 4.1.8, and earlier unsupported versions. The issue was discovered by Panagiotis Petasis and was fixed in versions 4.3.3, 4.2.6, and 4.1.9 (Moodle Advisory).

Technical details

The vulnerability stems from a missing security token in the link used to update all installed language packs, which failed to prevent Cross-Site Request Forgery attacks. The severity of this vulnerability has been assessed with different CVSS v3.1 scores: NVD rates it as HIGH with a base score of 8.8 (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H), while Fedora Project rates it as MEDIUM with a score of 4.3 (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N). The vulnerability is classified under CWE-352 (Cross-Site Request Forgery) (NVD).

Impact

The vulnerability could allow an attacker to perform unauthorized actions through CSRF attacks when a user with appropriate privileges clicks on a malicious link. The impact varies according to different assessments, with NVD indicating potential high impacts on confidentiality, integrity, and availability, while Fedora Project suggests lower severity with only confidentiality being affected (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Moodle versions 4.3.3, 4.2.6, and 4.1.9. Users are advised to upgrade to these patched versions. The fix involves adding the necessary security token to the language pack update functionality (Moodle Advisory, Fedora Update).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23492HIGH8.8
  • PHPPHP
  • pimcore/pimcore
NoYesJan 14, 2026
CVE-2026-23498HIGH7.2
  • PHPPHP
  • shopware/core
NoYesJan 14, 2026
GHSA-595p-g7xc-c333MEDIUM6.9
  • PHPPHP
  • algolia/algoliasearch-magento-2
NoYesJan 14, 2026
CVE-2022-50807MEDIUM6.9
  • PHPPHP
  • concrete5/concrete5
NoNoJan 13, 2026
CVE-2026-0859MEDIUM5.2
  • PHPPHP
  • typo3/cms-core
NoYesJan 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management