{"id":"CVE-2010-1618","aliases":["DSA-2115-1","EUVD-2022-2303","GHSA-45ch-hxgr-vx8j"],"status":"published","title":"phpCAS client library and Moodle Cross-site Scripting vulnerability","description":"Cross-site scripting (XSS) vulnerability in the phpCAS client library before 1.1.0, as used in Moodle 1.8.x before 1.8.12 and 1.9.x before 1.9.8, allows remote attackers to inject arbitrary web script or HTML via a crafted URL, which is not properly handled in an error message.","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.01813,"percentile":0.78797,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2010-04-29T21:00:00Z","modified":"2026-06-16T23:18:43Z","fixes":[{"ecosystem":"Packagist","package":"apereo/phpcas","fixed_in":["1.1.0"],"sources":["ghsa","osv"]},{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["1.8.12","1.9.8"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"apereo/phpcas","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.8.0"},{"fixed":"1.8.12"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.9.8"}]}]},{"source":"osv","ecosystem":"Debian:5.0","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.13-1"}]}],"versions":["1.8.2.dfsg-3","1.8.2.dfsg-3+lenny1","1.8.2.dfsg-3+lenny2","1.8.2.dfsg-3+lenny3","1.8.2.dfsg-4","1.8.2.dfsg-5","1.8.2.dfsg-5.1","1.8.2.dfsg-6","1.8.2.dfsg-6.1"],"bundled":13},{"source":"osv","ecosystem":"Packagist","package":"apereo/phpcas","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.8.0"},{"fixed":"1.8.12"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.9.8"}]}]}],"products":[{"vendor":"ja-sig","product":"phpcas_client_library"},{"vendor":"moodle","product":"moodle"}],"references":[{"url":"http://www.ja-sig.org/wiki/display/CASC/phpCAS+ChangeLog","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.vupen.com/english/advisories/2010/1107","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","web"]},{"url":"http://moodle.org/security/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2010-05/msg00001.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://www.ja-sig.org/issues/browse/PHPCAS-52","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2010-1618","tags":["advisory"]},{"url":"https://github.com/apereo/phpCAS/commit/021633112198b37555b35340cde884d1016d9e47","tags":["web"]},{"url":"https://github.com/advisories/GHSA-45ch-hxgr-vx8j"},{"url":"https://github.com/apereo/phpCAS","tags":["package"]},{"url":"http://moodle.org/security","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2010-1618","description":"Cross-site scripting (XSS) vulnerability in the phpCAS client library before 1.1.0, as used in Moodle 1.8.x before 1.8.12 and 1.9.x before 1.9.8, allows remote attackers to inject arbitrary web script or HTML via a crafted URL, which is not properly handled in an error message.","status":"published","published":"2010-04-29T21:00:00Z","modified":"2024-08-07T01:28:42.949Z","updated_at":"2026-11-02T14:33:29.582233Z"}],"euvd":[{"id":"EUVD-2022-2303","description":"Cross-site scripting (XSS) vulnerability in the phpCAS client library before 1.1.0, as used in Moodle 1.8.x before 1.8.12 and 1.9.x before 1.9.8, allows remote attackers to inject arbitrary web script or HTML via a crafted URL, which is not properly handled in an error message.","status":"published","published":"2010-04-29T21:00:00Z","modified":"2024-08-07T01:28:42Z","updated_at":"2026-11-03T01:39:40.77222Z"}],"ghsa":[{"id":"GHSA-45ch-hxgr-vx8j","title":"phpCAS client library and Moodle Cross-site Scripting vulnerability","description":"Cross-site scripting (XSS) vulnerability in the phpCAS client library before 1.1.0, as used in Moodle 1.8.x before 1.8.12 and 1.9.x before 1.9.8, allows remote attackers to inject arbitrary web script or HTML via a crafted URL, which is not properly handled in an error message.","status":"published","published":"2022-05-13T01:13:09Z","modified":"2024-02-07T22:50:40Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:36.777238Z"}],"nvd":[{"id":"CVE-2010-1618","description":"Cross-site scripting (XSS) vulnerability in the phpCAS client library before 1.1.0, as used in Moodle 1.8.x before 1.8.12 and 1.9.x before 1.9.8, allows remote attackers to inject arbitrary web script or HTML via a crafted URL, which is not properly handled in an error message.","status":"published","published":"2010-04-29T21:30:00.807Z","modified":"2026-06-16T23:18:43.183Z","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:01:45.97784Z"}],"osv":[{"id":"DSA-2115-1","title":"moodle - several vulnerabilities","status":"published","published":"2010-09-29T00:00:00Z","modified":"2026-03-09T01:19:02.11685Z","updated_at":"2026-11-02T15:46:15.108335Z"},{"id":"GHSA-45ch-hxgr-vx8j","title":"phpCAS client library and Moodle Cross-site Scripting vulnerability","description":"Cross-site scripting (XSS) vulnerability in the phpCAS client library before 1.1.0, as used in Moodle 1.8.x before 1.8.12 and 1.9.x before 1.9.8, allows remote attackers to inject arbitrary web script or HTML via a crafted URL, which is not properly handled in an error message.","status":"published","published":"2022-05-13T01:13:09Z","modified":"2024-02-07T23:12:30.72458Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:36.434231Z"}]}}
