{ "id": "CVE-2022-45150", "sourceIdentifier": "patrick@puiterwijk.org", "published": "2022-11-23T15:15:10.863", "lastModified": "2024-11-21T07:28:51.337", "vulnStatus": "Modified", "cveTags": [], "descriptions": [ { "lang": "en", "value": "A reflected cross-site scripting vulnerability was discovered in Moodle. This flaw exists due to insufficient sanitization of user-supplied data in policy tool. An attacker can trick the victim to open a specially crafted link that executes an arbitrary HTML and script code in user's browser in context of vulnerable website. This vulnerability may allow an attacker to perform cross-site scripting (XSS) attacks to gain access potentially sensitive information and modification of web pages." }, { "lang": "es", "value": "Se descubri\u00f3 una vulnerabilidad de Cross-Site Scripting (XSS) Reflejada en Moodle. Esta falla existe debido a una sanitizaci\u00f3n insuficiente de los datos proporcionados por los usuarios en la herramienta de pol\u00edticas. Un atacante puede enga\u00f1ar a la v\u00edctima para que abra un enlace especialmente manipulado que ejecute un c\u00f3digo HTML y script arbitrario en el navegador del usuario en el contexto de un sitio web vulnerable. Esta vulnerabilidad puede permitir a un atacante realizar ataques de Cross-Site Scripting (XSS) para obtener acceso a informaci\u00f3n potencialmente confidencial y modificaci\u00f3n de p\u00e1ginas web." } ], "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.18", "matchCriteriaId": "9D765451-92A9-48B2-B921-38F91C9398BD" }, { "vulnerable": true, "criteria": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.11.0", "versionEndExcluding": "3.11.11", "matchCriteriaId": "2DCA83CE-4355-4427-A57B-0DDF29796198" }, { "vulnerable": true, "criteria": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.0.0", "versionEndExcluding": "4.0.5", "matchCriteriaId": "1A232EF3-5AE4-4091-82DE-492B1F57F3B0" } ] } ] }, { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*", "matchCriteriaId": "80E516C0-98A4-4ADE-B69F-66A772E2BAAA" }, { "vulnerable": true, "criteria": "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*", "matchCriteriaId": "5C675112-476C-4D7C-BCB9-A2FB2D0BC9FD" }, { "vulnerable": true, "criteria": "cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*", "matchCriteriaId": "E30D0E6F-4AE8-4284-8716-991DFA48CC5D" } ] } ] } ], "references": [ { "url": "http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-76091", "source": "patrick@puiterwijk.org" }, { "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2142773", "source": "patrick@puiterwijk.org" }, { "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2DHYIIAUXUBHMBEDYU7TYNZXEN2W2SA2/", "source": "patrick@puiterwijk.org" }, { "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/74SXNGA5RIWM7QNX7H3G7SYIQLP4UUGV/", "source": "patrick@puiterwijk.org" }, { "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NLRJB5JNKK3VVBLV3NH3RI7COEDAXSAB/", "source": "patrick@puiterwijk.org" }, { "url": "https://moodle.org/mod/forum/discuss.php?d=440770", "source": "patrick@puiterwijk.org" }, { "url": "http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-76091", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2142773", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2DHYIIAUXUBHMBEDYU7TYNZXEN2W2SA2/", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/74SXNGA5RIWM7QNX7H3G7SYIQLP4UUGV/", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NLRJB5JNKK3VVBLV3NH3RI7COEDAXSAB/", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "https://moodle.org/mod/forum/discuss.php?d=440770", "source": "af854a3a-2127-422b-91ae-364da2661108" } ] }