{"containers":{"cna":{"affected":[{"product":"moodle","vendor":"n/a","versions":[{"status":"affected","version":"4.0 to 4.0.3, 3.11 to 3.11.9, 3.9 to 3.9.16 and earlier unsupported versions"}]}],"descriptions":[{"lang":"en","value":"Recursive rendering of Mustache template helpers containing user input could, in some cases, result in an XSS risk or a page failing to load."}],"problemTypes":[{"descriptions":[{"description":"Stored XSS","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2022-09-30T16:34:00.000Z","orgId":"92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5","shortName":"fedora"},"references":[{"tags":["x_refsource_MISC"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2128146"},{"tags":["x_refsource_MISC"],"url":"https://moodle.org/mod/forum/discuss.php?d=438392"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"patrick@puiterwijk.org","ID":"CVE-2022-40313","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"moodle","version":{"version_data":[{"version_value":"4.0 to 4.0.3, 3.11 to 3.11.9, 3.9 to 3.9.16 and earlier unsupported versions"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Recursive rendering of Mustache template helpers containing user input could, in some cases, result in an XSS risk or a page failing to load."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Stored XSS"}]}]},"references":{"reference_data":[{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=2128146","refsource":"MISC","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2128146"},{"name":"https://moodle.org/mod/forum/discuss.php?d=438392","refsource":"MISC","url":"https://moodle.org/mod/forum/discuss.php?d=438392"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T12:14:40.253Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2128146"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://moodle.org/mod/forum/discuss.php?d=438392"}]},{"problemTypes":[{"descriptions":[{"type":"CWE","cweId":"CWE-79","lang":"en","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}],"metrics":[{"cvssV3_1":{"scope":"CHANGED","version":"3.1","baseScore":7.1,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L","integrityImpact":"LOW","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"LOW","privilegesRequired":"NONE","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-05-20T18:19:11.960977Z","id":"CVE-2022-40313","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-05-20T18:20:46.944Z"}}]},"cveMetadata":{"assignerOrgId":"92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5","assignerShortName":"fedora","cveId":"CVE-2022-40313","datePublished":"2022-09-30T16:34:00.000Z","dateReserved":"2022-09-09T00:00:00.000Z","dateUpdated":"2025-05-20T18:20:46.944Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}