CVE-2024-43437
PHP vulnerability analysis and mitigation

Overview

A cross-site scripting (XSS) vulnerability was identified in Moodle, tracked as CVE-2024-43437. The vulnerability was discovered due to insufficient sanitizing of data when performing a restore operation, which could result in a cross-site scripting risk from malicious backup files. This vulnerability was reported by Adam Chovanec and affects Moodle versions 4.4 to 4.4.1, 4.3 to 4.3.5, 4.2 to 4.2.8, 4.1 to 4.1.11 and earlier unsupported versions (Moodle Forum).

Technical details

The vulnerability stems from inadequate data sanitization during the restore process of backup files in Moodle. The severity of this vulnerability is classified as Minor according to Moodle's security assessment, with a CVSS v3.1 base score of 5.4 MEDIUM (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N) (NVD).

Impact

When exploited, this vulnerability could allow an attacker to execute cross-site scripting attacks through maliciously crafted backup files during the restore process. This could potentially lead to unauthorized access to user data or execution of arbitrary web scripts in the context of the affected Moodle installation (Moodle Forum).

Mitigation and workarounds

The vulnerability has been fixed in Moodle versions 4.4.2, 4.3.6, 4.2.9, and 4.1.12. Users are advised to upgrade to these patched versions to mitigate the risk (Moodle Forum).

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-2025-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66312MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66311MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66310MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025

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