CVE-2022-0335

Source
https://cve.org/CVERecord?id=CVE-2022-0335
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-0335.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-0335
Aliases
Downstream
Published
2022-01-25T19:11:12Z
Modified
2026-07-11T03:53:26Z
Summary
[none]
Details

A flaw was found in Moodle in versions 3.11 to 3.11.4, 3.10 to 3.10.8, 3.9 to 3.9.11 and earlier unsupported versions. The "delete badge alignment" functionality did not include the necessary token check to prevent a CSRF risk.

Database specific
{
    "cna_assigner": "fedora",
    "cwe_ids": [
        "CWE-352"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0335.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "moodle 3.11.5, moodle 3.10.9 and moodle 3.9.12"
                },
                {
                    "last_affected": "moodle 3.11.5, moodle 3.10.9 and moodle 3.9.12"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/moodle/moodle

Affected ranges

Type
GIT
Repo
https://github.com/moodle/moodle
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "3.8.9"
        },
        {
            "introduced": "3.9.0"
        },
        {
            "fixed": "3.9.12"
        },
        {
            "introduced": "3.10.0"
        },
        {
            "fixed": "3.10.9"
        },
        {
            "introduced": "3.11.0"
        },
        {
            "fixed": "3.11.5"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

v3.*
v3.10.0
v3.10.1
v3.10.2
v3.10.3
v3.10.4
v3.10.5
v3.10.6
v3.10.7
v3.10.8
v3.11.0
v3.11.1
v3.11.2
v3.11.3
v3.11.4
v3.9.0
v3.9.1
v3.9.10
v3.9.11
v3.9.2
v3.9.3
v3.9.4
v3.9.5
v3.9.6
v3.9.7
v3.9.8
v3.9.9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-0335.json"