CVE-2024-38274

Source
https://cve.org/CVERecord?id=CVE-2024-38274
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38274.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-38274
Aliases
Downstream
Published
2024-06-18T19:49:15Z
Modified
2026-08-12T03:51:48Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
moodle: stored XSS via calendar's event title when deleting the event
Details

Insufficient escaping of calendar event titles resulted in a stored XSS risk in the event deletion prompt.

Database specific
{
    "cna_assigner":  "fedora",
    "cwe_ids":  [
        "CWE-79"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38274.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "introduced":  "4.4"
                },
                {
                    "last_affected":  "4.4"
                },
                {
                    "introduced":  "4.3"
                },
                {
                    "last_affected":  "4.3.4"
                },
                {
                    "introduced":  "4.2"
                },
                {
                    "last_affected":  "4.2.7"
                },
                {
                    "introduced":  "4.1"
                },
                {
                    "last_affected":  "4.1.10"
                }
            ],
            "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:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:moodle:moodle:4.4.0:*:*:*:*:*:*:*"
    ],
    "extracted_events":  [
        {
            "introduced":  "4.1.0"
        },
        {
            "fixed":  "4.1.11"
        },
        {
            "introduced":  "4.2.0"
        },
        {
            "fixed":  "4.2.8"
        },
        {
            "introduced":  "4.3.0"
        },
        {
            "fixed":  "4.3.5"
        },
        {
            "introduced":  "4.4.0"
        },
        {
            "last_affected":  "4.4.0"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "CPE_STRING"
    ]
}

Affected versions

4.*
4.4.0
v4.*
v4.1.0
v4.1.1
v4.1.10
v4.1.2
v4.1.3
v4.1.4
v4.1.5
v4.1.6
v4.1.7
v4.1.8
v4.1.9
v4.2.0
v4.2.1
v4.2.2
v4.2.3
v4.2.4
v4.2.5
v4.2.6
v4.2.7
v4.3.0
v4.3.1
v4.3.2
v4.3.3
v4.3.4
v4.4.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38274.json"