{"id":"CVE-2024-34006","published":"2024-05-31T20:36:08Z","modified":"2024-08-02T02:42:59Z","title":"moodle: unsanitized HTML in site log for config_log_created","vendor":null,"product":null,"tier":"tail","description":{"text":"The site log report required additional encoding of event descriptions to ensure any HTML in the content is displayed in plaintext instead of being rendered.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00356,"percentile":0.30096,"provenance":"source"},"cwes":[{"id":"CWE-838","name":"Inappropriate Encoding for Output Context"}],"references":[{"url":"https://moodle.org/mod/forum/discuss.php?d=458395","tags":[]}],"priority":{"score":9.0,"factors":[{"name":"EPSS percentile","points":6.02},{"name":"CVSS severity","points":3.01}]},"affectedVersions":[{"vendor":null,"product":null,"versions":[">= 4.0, <= 4.3.3",">= 4.2, <= 4.2.6",">= 4.1, <= 4.1.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-03T15:10:13.250364Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":[">=4.3.0, <4.3.4",">=4.2.0, <4.2.7","<4.1.10"],"patched":["4.3.4","4.2.7","4.1.10"],"from":["GHSA-vvh5-7v3m-j3mj"],"provenance":"source"}],"summary":{"text":"The flaw is in Moodle's site log report, where event descriptions for config_log_created entries are not encoded, so HTML content is rendered instead of displayed as plain text. An attacker can inject HTML into logged event descriptions over the network without authentication, and the payload takes effect when a user interacts with the affected log page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:22Z"},"euvd":{"id":"EUVD-2024-1818","exploited":false,"provenance":"source"}}