{"id":"CVE-2023-28335","aliases":["BIT-moodle-2023-28335","EUVD-2023-1135","GHSA-wxmq-v9gx-75pg","UBUNTU-CVE-2023-28335"],"status":"published","title":"Moodle: csrf risk in resetting all templates of a database activity","description":"The link to reset all templates of a database activity did not include the necessary token to prevent a CSRF risk.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00409,"percentile":0.35635,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-352"],"published":"2023-03-23T00:00:00Z","modified":"2026-10-28T02:31:14Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["4.1.2"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"moodle","fixed_in":["4.1.1","4.1.2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0"},{"fixed":"4.1.2"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"moodle","ranges":[{"type":"SEMVER","events":[{"introduced":"4.1.0"},{"fixed":"4.1.1"},{"introduced":"4.1.1"},{"fixed":"4.1.2"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0"},{"fixed":"4.1.2"}]}],"versions":["v4.1.0","v4.1.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.9+dfsg-1","2.7.10+dfsg-1","2.7.11+dfsg-1","2.7.11+dfsg-2","2.7.12+dfsg-1","3.0.3+dfsg-0ubuntu1","3.0.3+dfsg-0ubuntu1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.3+dfsg-0ubuntu1","3.0.3+dfsg-0ubuntu1+esm1"]}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2179424","tags":["issue-tracking","x_refsource_REDHAT","x_transferred","web","report"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=445067","tags":["x_transferred","Patch","Vendor Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28335","tags":["web","advisory"]},{"url":"https://github.com/moodle/moodle/commit/355556c05f4a6d9e223164eff820cd34eb70cc35","tags":["web"]},{"url":"https://git.moodle.org/gw?p=moodle.git;a=commitdiff;h=355556c05f4a6d9e223164eff820cd34eb70cc35","tags":["web"]},{"url":"https://github.com/advisories/GHSA-wxmq-v9gx-75pg"},{"url":"https://git.moodle.org","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28335.json","tags":["advisory"]},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2023-28335","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-28335","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-28335","title":"Moodle: csrf risk in resetting all templates of a database activity","description":"The link to reset all templates of a database activity did not include the necessary token to prevent a CSRF risk.","status":"published","published":"2023-03-23T00:00:00Z","modified":"2024-08-02T12:38:24.882Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:35:32.752775Z"}],"euvd":[{"id":"EUVD-2023-1135","description":"The link to reset all templates of a database activity did not include the necessary token to prevent a CSRF risk.","status":"published","published":"2023-03-23T00:00:00Z","modified":"2024-08-02T12:38:24Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T03:50:06.256765Z"}],"ghsa":[{"id":"GHSA-wxmq-v9gx-75pg","title":"Moodle vulnerable to Cross-site Request Forgery","description":"The link to reset all templates of a database activity did not include the necessary token to prevent a CSRF risk.","status":"published","published":"2023-03-23T21:30:18Z","modified":"2024-04-29T05:02:15Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:37:47.338362Z"}],"nvd":[{"id":"CVE-2023-28335","description":"The link to reset all templates of a database activity did not include the necessary token to prevent a CSRF risk.","status":"published","published":"2023-03-23T21:15:20.257Z","modified":"2026-06-17T05:47:28.12Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:07:50.908252Z"}],"osv":[{"id":"CVE-2023-28335","title":"Moodle: csrf risk in resetting all templates of a database activity","description":"The link to reset all templates of a database activity did not include the necessary token to prevent a CSRF risk.","status":"published","published":"2023-03-23T00:00:00Z","modified":"2026-10-28T02:31:14.356469034Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T15:44:31.468318Z"},{"id":"GHSA-wxmq-v9gx-75pg","title":"Moodle vulnerable to Cross-site Request Forgery","description":"The link to reset all templates of a database activity did not include the necessary token to prevent a CSRF risk.","status":"published","published":"2023-03-23T21:30:18Z","modified":"2024-04-19T15:58:31.332951Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T15:46:59.131095Z"},{"id":"UBUNTU-CVE-2023-28335","description":"The link to reset all templates of a database activity did not include the necessary token to prevent a CSRF risk.","status":"published","published":"2023-03-23T21:15:00Z","modified":"2026-09-23T18:45:57.272390395Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:54:20.997471Z"},{"id":"BIT-moodle-2023-28335","title":"Moodle: csrf risk in resetting all templates of a database activity","description":"The link to reset all templates of a database activity did not include the necessary token to prevent a CSRF risk.","status":"published","published":"2024-03-06T10:59:55.273Z","modified":"2026-09-08T08:48:15.039806846Z","updated_at":"2026-11-02T15:28:33.469426Z"}]}}
