{ "id": "CVE-2023-23921", "sourceIdentifier": "patrick@puiterwijk.org", "published": "2023-02-17T20:15:11.807", "lastModified": "2024-11-21T07:47:06.267", "vulnStatus": "Modified", "cveTags": [], "descriptions": [ { "lang": "en", "value": "The vulnerability was found Moodle which exists due to insufficient sanitization of user-supplied data in some returnurl parameters. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website. This flaw allows a remote attacker to perform cross-site scripting (XSS) attacks." } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE" }, "exploitabilityScore": 2.8, "impactScore": 2.7 } ] }, "weaknesses": [ { "source": "patrick@puiterwijk.org", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-79" } ] }, { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-79" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.9.0", "versionEndExcluding": "3.9.19", "matchCriteriaId": "7EF7672C-DBD1-49E5-8005-17CC6ACA0F83" }, { "vulnerable": true, "criteria": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.11.0", "versionEndExcluding": "3.11.12", "matchCriteriaId": "C162F159-0BA5-4ECA-85AD-364554A07AAA" }, { "vulnerable": true, "criteria": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.0.0", "versionEndExcluding": "4.0.6", "matchCriteriaId": "E4481A07-1EB0-46C5-9015-E02A705C1A8F" }, { "vulnerable": true, "criteria": "cpe:2.3:a:moodle:moodle:4.1.0:-:*:*:*:*:*:*", "matchCriteriaId": "D2B926AF-E5E5-466B-B507-99F995EA25F9" } ] } ] } ], "references": [ { "url": "http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-76810", "source": "patrick@puiterwijk.org", "tags": [ "Patch" ] }, { "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2162526", "source": "patrick@puiterwijk.org", "tags": [ "Issue Tracking", "Third Party Advisory" ] }, { "url": "https://moodle.org/mod/forum/discuss.php?d=443272#p1782021", "source": "patrick@puiterwijk.org", "tags": [ "Patch", "Vendor Advisory" ] }, { "url": "http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-76810", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Patch" ] }, { "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2162526", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Issue Tracking", "Third Party Advisory" ] }, { "url": "https://moodle.org/mod/forum/discuss.php?d=443272#p1782021", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Patch", "Vendor Advisory" ] } ] }