{"id":"CVE-2014-3547","aliases":["EUVD-2022-4228","GHSA-hwjv-mc78-cccj","MGASA-2014-0308"],"status":"published","title":"Moodle multiple cross-site scripting (XSS) vulnerabilities","description":"Multiple cross-site scripting (XSS) vulnerabilities in badges/renderer.php in Moodle 2.5.x before 2.5.7, 2.6.x before 2.6.4, and 2.7.x before 2.7.1 allow remote attackers to inject arbitrary web script or HTML via an external badge.","severity":{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01187,"percentile":0.68079,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2014-07-29T10:00:00Z","modified":"2026-06-17T00:08:27Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["2.5.7","2.6.4","2.7.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"2.5.7"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.6.4"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0"},{"fixed":"2.7.1"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"2.5.7"}]}],"versions":["v2.5.0","v2.5.1","v2.5.2","v2.5.3","v2.5.4","v2.5.5","v2.5.6"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.6.4"}]}],"versions":["v2.6.0","v2.6.1","v2.6.2","v2.6.3"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0"},{"fixed":"2.7.1"}]}],"versions":["v2.7.0"]},{"source":"osv","ecosystem":"Mageia:3","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.4-1.mga3"}]}],"bundled":10},{"source":"osv","ecosystem":"Mageia:4","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.4-1.mga4"}]}],"bundled":10}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"http://openwall.com/lists/oss-security/2014/07/21/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=264269","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","web"]},{"url":"http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-46042","tags":["x_refsource_CONFIRM","x_transferred","Patch","web"]},{"url":"http://www.securityfocus.com/bid/68758","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-3547","tags":["advisory"]},{"url":"https://github.com/moodle/moodle/commit/0174a0a57f6d84e240dd0bc0df0ffa63c3cc5a88","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/200a2b7fad3f7ef92b3171a07d68df6958d842b7","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/9eef6b5237520f0cb9874564e577c64e3a831987","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/ea76b652fc4f3600403a61e54f198cc8570a4234","tags":["web"]},{"url":"https://github.com/advisories/GHSA-hwjv-mc78-cccj"},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://advisories.mageia.org/MGASA-2014-0308.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=13759","tags":["report"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=264262","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=264263","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=264264","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=264265","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=264266","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=264267","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=264268","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=264270","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=264273","tags":["web"]},{"url":"http://docs.moodle.org/dev/Moodle_2.6.4_release_notes","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2014-3547","description":"Multiple cross-site scripting (XSS) vulnerabilities in badges/renderer.php in Moodle 2.5.x before 2.5.7, 2.6.x before 2.6.4, and 2.7.x before 2.7.1 allow remote attackers to inject arbitrary web script or HTML via an external badge.","status":"published","published":"2014-07-29T10:00:00Z","modified":"2024-08-06T10:50:16.89Z","updated_at":"2026-11-02T14:33:44.569327Z"}],"euvd":[{"id":"EUVD-2022-4228","description":"Multiple cross-site scripting (XSS) vulnerabilities in badges/renderer.php in Moodle 2.5.x before 2.5.7, 2.6.x before 2.6.4, and 2.7.x before 2.7.1 allow remote attackers to inject arbitrary web script or HTML via an external badge.","status":"published","published":"2014-07-29T10:00:00Z","modified":"2024-08-06T10:50:16Z","updated_at":"2026-11-03T01:57:10.446744Z"}],"ghsa":[{"id":"GHSA-hwjv-mc78-cccj","title":"Moodle multiple cross-site scripting (XSS) vulnerabilities","description":"Multiple cross-site scripting (XSS) vulnerabilities in badges/renderer.php in Moodle 2.5.x before 2.5.7, 2.6.x before 2.6.4, and 2.7.x before 2.7.1 allow remote attackers to inject arbitrary web script or HTML via an external badge.","status":"published","published":"2022-05-13T01:12:40Z","modified":"2024-01-24T21:20:53Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:32.302254Z"}],"nvd":[{"id":"CVE-2014-3547","description":"Multiple cross-site scripting (XSS) vulnerabilities in badges/renderer.php in Moodle 2.5.x before 2.5.7, 2.6.x before 2.6.4, and 2.7.x before 2.7.1 allow remote attackers to inject arbitrary web script or HTML via an external badge.","status":"published","published":"2014-07-29T11:10:32.277Z","modified":"2026-06-17T00:08:27.693Z","cvss":[{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:02:55.19899Z"}],"osv":[{"id":"GHSA-hwjv-mc78-cccj","title":"Moodle multiple cross-site scripting (XSS) vulnerabilities","description":"Multiple cross-site scripting (XSS) vulnerabilities in badges/renderer.php in Moodle 2.5.x before 2.5.7, 2.6.x before 2.6.4, and 2.7.x before 2.7.1 allow remote attackers to inject arbitrary web script or HTML via an external badge.","status":"published","published":"2022-05-13T01:12:40Z","modified":"2024-12-07T05:44:55.288831Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:49.621585Z"},{"id":"MGASA-2014-0308","title":"Updated moodle package fixes security vulnerabilities","description":"In Moodle before 2.6.4, serialised data passed by repositories could\npotentially contain objects defined by add-ons that could include executable\ncode (CVE-2014-3541).\n\nIn Moodle before 2.6.4, it was possible for manipulated XML files passed from\nLTI servers to be interpreted by Moodle to allow access to server-side files\n(CVE-2014-3542).\n\nIn Moodle before 2.6.4, it was possible for manipulated XML files to be\nuploaded to the IMSCC course format or the IMSCP resource to allow access to\nserver-side files (CVE-2014-3543).\n\nIn Moodle before 2.6.4, filtering of the Skype profile field was not removing\npotentially harmful code (CVE-2014-3544).\n\nIn Moodle before 2.6.4, it was possible to inject code into Calculated\nquestions that would be executed on the server (CVE-2014-3545).\n\nIn Moodle before 2.6.4, it was possible to get limited user information,\nsuch as user name and courses, by manipulating the URL of profile and notes\npages (CVE-2014-3546).\n\nIn Moodle before 2.6.4, the details of badges from external sources were not\nbeing filtered (CVE-2014-3547).\n\nIn Moodle before 2.6.4, content of exception dialogues presented from AJAX\ncalls was not being escaped before being presented to users (CVE-2014-3548).\n\nIn Moodle before 2.6.4, fields in rubrics were not being correctly filtered\n(CVE-2014-3551).\n\nIn Moodle before 2.6.4, forum was allowing users who were members of more\nthan one group to post to all groups without the capability to access all\ngroups (CVE-2014-3553).\n\nThe moodle package has been updated to version 2.6.4, to fix these issues\nand other bugs.\n","status":"published","published":"2014-08-05T20:08:48Z","modified":"2026-04-16T06:24:39.334873342Z","updated_at":"2026-11-02T15:49:39.488462Z"}]}}
