{"id":"CVE-2014-9059","aliases":["EUVD-2022-3625","GHSA-crcq-pw8h-9xwf"],"status":"published","title":"Moodle does not provide charset information in HTTP headers","description":"lib/setup.php in Moodle through 2.4.11, 2.5.x before 2.5.9, 2.6.x before 2.6.6, and 2.7.x before 2.7.3 does not provide charset information in HTTP headers, which might allow remote attackers to conduct cross-site scripting (XSS) attacks via UTF-7 characters during interaction with AJAX scripts.","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.01832,"percentile":0.79037,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2014-11-24T11:00:00Z","modified":"2026-06-17T00:17:44Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["2.5.9","2.6.6","2.7.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.9"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.6.6"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0"},{"fixed":"2.7.3"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.9"}]}],"versions":["v2.3.10","v2.3.11","v2.3.4","v2.3.5","v2.3.6","v2.3.7","v2.3.8","v2.3.9","v2.4.0","v2.4.0-rc1","v2.4.1","v2.4.10","v2.4.11","v2.4.2","v2.4.3","v2.4.4","v2.4.5","v2.4.6","v2.4.7","v2.4.8","v2.4.9","v2.5.0","v2.5.0-beta","v2.5.0-rc1","v2.5.1","v2.5.2","v2.5.3","v2.5.4","v2.5.5","v2.5.6","v2.5.7","v2.5.8"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.6.6"}]}],"versions":["v2.6.0","v2.6.1","v2.6.2","v2.6.3","v2.6.4","v2.6.5"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0"},{"fixed":"2.7.3"}]}],"versions":["v2.7.0","v2.7.1","v2.7.2"]}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"http://www.securitytracker.com/id/1031215","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://openwall.com/lists/oss-security/2014/11/17/11","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-47966","tags":["x_refsource_CONFIRM","x_transferred","Patch","web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=275146","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","web"]},{"url":"http://www.securityfocus.com/bid/71133","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-9059","tags":["advisory"]},{"url":"https://github.com/moodle/moodle/commit/0a0145c5e8041aadeff303a9f9984c86706b4e42","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/293e4bbcb71f0a801c2539ea051c58688314b23a","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/3c98b7a5ad1bb596a738e550fc3bf966d6415fe0","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/ac6e453d11024bf6ad99ada1bfc641c6b91ebed6","tags":["web"]},{"url":"https://web.archive.org/web/20150914064838/http://www.securitytracker.com/id/1031215","tags":["web"]},{"url":"https://web.archive.org/web/20200229043651/http://www.securityfocus.com/bid/71133","tags":["web"]},{"url":"https://github.com/advisories/GHSA-crcq-pw8h-9xwf"},{"url":"https://github.com/moodle/moodle","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2014-9059","description":"lib/setup.php in Moodle through 2.4.11, 2.5.x before 2.5.9, 2.6.x before 2.6.6, and 2.7.x before 2.7.3 does not provide charset information in HTTP headers, which might allow remote attackers to conduct cross-site scripting (XSS) attacks via UTF-7 characters during interaction with AJAX scripts.","status":"published","published":"2014-11-24T11:00:00Z","modified":"2024-08-06T13:33:13.509Z","updated_at":"2026-11-02T14:33:42.54191Z"}],"euvd":[{"id":"EUVD-2022-3625","description":"lib/setup.php in Moodle through 2.4.11, 2.5.x before 2.5.9, 2.6.x before 2.6.6, and 2.7.x before 2.7.3 does not provide charset information in HTTP headers, which might allow remote attackers to conduct cross-site scripting (XSS) attacks via UTF-7 characters during interaction with AJAX scripts.","status":"published","published":"2014-11-24T11:00:00Z","modified":"2024-08-06T13:33:13Z","updated_at":"2026-11-03T01:56:50.141542Z"}],"ghsa":[{"id":"GHSA-crcq-pw8h-9xwf","title":"Moodle does not provide charset information in HTTP headers","description":"lib/setup.php in Moodle through 2.4.11, 2.5.x before 2.5.9, 2.6.x before 2.6.6, and 2.7.x before 2.7.3 does not provide charset information in HTTP headers, which might allow remote attackers to conduct cross-site scripting (XSS) attacks via UTF-7 characters during interaction with AJAX scripts.","status":"published","published":"2022-05-13T01:12:43Z","modified":"2024-01-25T20:28:15Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:32.302254Z"}],"nvd":[{"id":"CVE-2014-9059","description":"lib/setup.php in Moodle through 2.4.11, 2.5.x before 2.5.9, 2.6.x before 2.6.6, and 2.7.x before 2.7.3 does not provide charset information in HTTP headers, which might allow remote attackers to conduct cross-site scripting (XSS) attacks via UTF-7 characters during interaction with AJAX scripts.","status":"published","published":"2014-11-24T11:59:14.183Z","modified":"2026-06-17T00:17:44.057Z","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:57.304171Z"}],"osv":[{"id":"GHSA-crcq-pw8h-9xwf","title":"Moodle does not provide charset information in HTTP headers","description":"lib/setup.php in Moodle through 2.4.11, 2.5.x before 2.5.9, 2.6.x before 2.6.6, and 2.7.x before 2.7.3 does not provide charset information in HTTP headers, which might allow remote attackers to conduct cross-site scripting (XSS) attacks via UTF-7 characters during interaction with AJAX scripts.","status":"published","published":"2022-05-13T01:12:43Z","modified":"2024-12-08T05:27:04.938445Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:45.28161Z"}]}}
