{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-43437",
        "assignerOrgId": "92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5",
        "state": "PUBLISHED",
        "assignerShortName": "fedora",
        "dateReserved": "2024-08-13T07:15:00.599Z",
        "datePublished": "2024-11-11T12:19:25.715Z",
        "dateUpdated": "2025-03-13T14:04:35.671Z"
    },
    "containers": {
        "cna": {
            "title": "Moodle: xss risk when restoring malicious course backup file",
            "metrics": [
                {
                    "other": {
                        "content": {
                            "value": "Low",
                            "namespace": "https://access.redhat.com/security/updates/classification/"
                        },
                        "type": "Red Hat severity rating"
                    }
                },
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 5.4,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N",
                        "version": "3.1"
                    },
                    "format": "CVSS"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A flaw was found in moodle. Insufficient sanitizing of data when performing a restore could result in a cross-site scripting (XSS) risk from malicious backup files."
                }
            ],
            "affected": [
                {
                    "versions": [
                        {
                            "status": "affected",
                            "version": "0",
                            "lessThan": "4.1.12",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "4.2",
                            "lessThan": "4.2.9",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "4.3",
                            "lessThan": "4.3.6",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "4.4",
                            "lessThan": "4.4.2",
                            "versionType": "semver"
                        }
                    ],
                    "packageName": "moodle",
                    "collectionURL": "https://github.com/moodle/moodle",
                    "defaultStatus": "unaffected"
                }
            ],
            "references": [
                {
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2304266",
                    "name": "RHBZ#2304266",
                    "tags": [
                        "issue-tracking",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://moodle.org/mod/forum/discuss.php?d=461207"
                }
            ],
            "datePublic": "2024-08-19T04:00:00.000Z",
            "timeline": [
                {
                    "lang": "en",
                    "time": "2024-08-12T00:00:00.000Z",
                    "value": "Reported to Red Hat."
                },
                {
                    "lang": "en",
                    "time": "2024-08-19T04:00:00.000Z",
                    "value": "Made public."
                }
            ],
            "providerMetadata": {
                "orgId": "92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5",
                "shortName": "fedora",
                "dateUpdated": "2024-11-11T12:19:25.715Z"
            }
        },
        "adp": [
            {
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "type": "CWE",
                                "cweId": "CWE-79",
                                "lang": "en",
                                "description": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-11-11T14:28:15.911800Z",
                                "id": "CVE-2024-43437",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-03-13T14:04:35.671Z"
                }
            }
        ]
    }
}