CVE-2023-5546

Source
https://cve.org/CVERecord?id=CVE-2023-5546
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-5546.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-5546
Aliases
Downstream
Published
2023-11-09T19:34:21.895Z
Modified
2026-05-28T04:09:45.683132397Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Moodle: stored xss in quiz grading report via user id number
Details

ID numbers displayed in the quiz grading report required additional sanitizing to prevent a stored XSS risk.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5546.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "4.2.0"
                },
                {
                    "fixed": "4.2.3"
                },
                {
                    "introduced": "4.1.0"
                },
                {
                    "fixed": "4.1.6"
                },
                {
                    "introduced": "4.0.0"
                },
                {
                    "fixed": "4.0.11"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ],
    "cwe_ids": [
        "CWE-79"
    ],
    "cna_assigner": "fedora"
}
References

Affected packages

Git / github.com/moodle/moodle

Affected ranges

Type
GIT
Repo
https://github.com/moodle/moodle
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "4.0.0"
        },
        {
            "fixed": "4.0.11"
        },
        {
            "introduced": "4.1.0"
        },
        {
            "fixed": "4.1.6"
        },
        {
            "introduced": "4.2.0"
        },
        {
            "fixed": "4.2.3"
        }
    ],
    "cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
    "source": "CPE_RANGE"
}

Affected versions

v4.*
v4.0.0
v4.0.1
v4.0.10
v4.0.2
v4.0.3
v4.0.4
v4.0.5
v4.0.6
v4.0.7
v4.0.8
v4.0.9
v4.1.0
v4.1.1
v4.1.2
v4.1.3
v4.1.4
v4.1.5
v4.2.0
v4.2.1
v4.2.2

Database specific

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