{"id":"CVE-2008-1502","aliases":["DEBIAN-CVE-2008-1502","DSA-1691-1","DSA-1871-1","DSA-1871-2","EUVD-2022-5304","GHSA-v759-3wr5-p294"],"status":"published","title":"Moodle vulnerable to Cross-site scripting","description":"The _bad_protocol_once function in phpgwapi/inc/class.kses.inc.php in KSES, as used in eGroupWare before 1.4.003, Moodle before 1.8.5, and other products, allows remote attackers to bypass HTML filtering and conduct cross-site scripting (XSS) attacks via a string containing crafted URL protocols.","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-07","score":0.10503,"percentile":0.95789,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2008-03-25T19:00:00Z","modified":"2026-10-23T17:47:31Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["1.8.5"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"wordpress","fixed_in":["2.5.0-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"wordpress","fixed_in":["2.5.0-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"wordpress","fixed_in":["2.5.0-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.5"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"wordpress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.0-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"wordpress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.0-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"wordpress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.0-1"}]}]},{"source":"osv","ecosystem":"Debian:4.0","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.3-2+etch1"}]}],"versions":["1.6.3-2"],"bundled":9},{"source":"osv","ecosystem":"Debian:4.0","package":"wordpress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.10-1etch4"}]}],"versions":["2.0.10-1","2.0.10-1etch1","2.0.10-1etch2","2.0.10-1etch3","2.0.10-1~bpo.1","2.0.9-1"],"bundled":11},{"source":"osv","ecosystem":"Debian:5.0","package":"wordpress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.1-11+lenny1"}]}],"versions":["2.5.1-11"],"bundled":11},{"source":"osv","ecosystem":"Debian:4.0","package":"wordpress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.10-1etch5"}]}],"versions":["2.0.10-1","2.0.10-1etch1","2.0.10-1etch2","2.0.10-1etch3","2.0.10-1etch4","2.0.10-1~bpo.1","2.0.9-1"],"bundled":11},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.5"}]}]}],"products":[{"vendor":"egroupware","product":"egroupware"},{"vendor":"moodle","product":"moodle"}],"references":[{"url":"http://secunia.com/advisories/29491","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/31017","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/32400","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00006.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://secunia.com/advisories/32446","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.debian.org/security/2009/dsa-1871","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory","web"]},{"url":"http://secunia.com/advisories/30986","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41435","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.egroupware.org/viewvc/branches/1.4/phpgwapi/inc/class.kses.inc.php?r1=23625\u0026r2=25110\u0026pathrev=25110","tags":["x_refsource_MISC","x_transferred","Exploit","evidence","web"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-July/msg00331.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://secunia.com/advisories/31018","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"https://usn.ubuntu.com/658-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"http://docs.moodle.org/en/Release_Notes#Moodle_1.8.5","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","advisory","fix","web"]},{"url":"http://www.openwall.com/lists/oss-security/2008/07/08/14","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://secunia.com/advisories/30073","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.egroupware.org/changelog","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/28424","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch","fix"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200805-04.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","web"]},{"url":"http://www.vupen.com/english/advisories/2008/0989/references","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.debian.org/security/2008/dsa-1691","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Patch","fix","web"]},{"url":"http://secunia.com/advisories/31167","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-1502","tags":["advisory"]},{"url":"https://web.archive.org/web/20080709031015/http://www.securityfocus.com/bid/28424","tags":["web"]},{"url":"https://web.archive.org/web/20080828131802/http://secunia.com/advisories/31017","tags":["web"]},{"url":"https://web.archive.org/web/20080905011948/http://secunia.com/advisories/31018","tags":["web"]},{"url":"https://web.archive.org/web/20081011001554/http://secunia.com/advisories/31167","tags":["web"]},{"url":"https://web.archive.org/web/20081025081058/http://secunia.com/advisories/32400","tags":["web"]},{"url":"https://web.archive.org/web/20081028073531/http://secunia.com/advisories/32446","tags":["web"]},{"url":"https://web.archive.org/web/20090129193143/http://secunia.com/advisories/30986","tags":["web"]},{"url":"https://web.archive.org/web/20100819022833/http://secunia.com/advisories/30073","tags":["web"]},{"url":"https://web.archive.org/web/20120719035305/http://secunia.com/advisories/29491","tags":["web"]},{"url":"https://github.com/advisories/GHSA-v759-3wr5-p294"},{"url":"https://security-tracker.debian.org/tracker/CVE-2008-1502","tags":["advisory"]},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://usn.ubuntu.com/658-1","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2008-1502","description":"The _bad_protocol_once function in phpgwapi/inc/class.kses.inc.php in KSES, as used in eGroupWare before 1.4.003, Moodle before 1.8.5, and other products, allows remote attackers to bypass HTML filtering and conduct cross-site scripting (XSS) attacks via a string containing crafted URL protocols.","status":"published","published":"2008-03-25T19:00:00Z","modified":"2024-08-07T08:24:41.897Z","updated_at":"2026-11-02T14:34:47.71012Z"}],"euvd":[{"id":"EUVD-2022-5304","description":"The _bad_protocol_once function in phpgwapi/inc/class.kses.inc.php in KSES, as used in eGroupWare before 1.4.003, Moodle before 1.8.5, and other products, allows remote attackers to bypass HTML filtering and conduct cross-site scripting (XSS) attacks via a string containing crafted URL protocols.","status":"published","published":"2008-03-25T19:00:00Z","modified":"2024-08-07T08:24:41Z","updated_at":"2026-11-03T01:39:01.686266Z"}],"ghsa":[{"id":"GHSA-v759-3wr5-p294","title":"Moodle vulnerable to Cross-site scripting","description":"The `_bad_protocol_once` function in `phpgwapi/inc/class.kses.inc.php` in KSES, as used in eGroupWare before 1.4.003, Moodle before 1.8.5, and other products, allows remote attackers to bypass HTML filtering and conduct cross-site scripting (XSS) attacks via a string containing crafted URL protocols.","status":"published","published":"2022-05-01T23:40:50Z","modified":"2024-02-09T15:44:58Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:36.777238Z"}],"nvd":[{"id":"CVE-2008-1502","description":"The _bad_protocol_once function in phpgwapi/inc/class.kses.inc.php in KSES, as used in eGroupWare before 1.4.003, Moodle before 1.8.5, and other products, allows remote attackers to bypass HTML filtering and conduct cross-site scripting (XSS) attacks via a string containing crafted URL protocols.","status":"published","published":"2008-03-25T19:44:00Z","modified":"2026-06-16T22:51:52.227Z","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:25.857543Z"}],"osv":[{"id":"CVE-2008-1502","description":"The _bad_protocol_once function in phpgwapi/inc/class.kses.inc.php in KSES, as used in eGroupWare before 1.4.003, Moodle before 1.8.5, and other products, allows remote attackers to bypass HTML filtering and conduct cross-site scripting (XSS) attacks via a string containing crafted URL protocols.","status":"published","published":"2008-03-25T19:44:00Z","modified":"2026-04-10T03:39:45.205017Z","updated_at":"2026-11-02T15:43:57.178433Z"},{"id":"DEBIAN-CVE-2008-1502","description":"The _bad_protocol_once function in phpgwapi/inc/class.kses.inc.php in KSES, as used in eGroupWare before 1.4.003, Moodle before 1.8.5, and other products, allows remote attackers to bypass HTML filtering and conduct cross-site scripting (XSS) attacks via a string containing crafted URL protocols.","status":"published","published":"2008-03-25T19:44:00Z","modified":"2026-10-23T17:47:31.71310651Z","updated_at":"2026-11-02T15:45:23.742363Z"},{"id":"DSA-1691-1","title":"moodle - several vulnerabilities","status":"published","published":"2008-12-22T00:00:00Z","modified":"2026-03-09T01:01:40.529427Z","updated_at":"2026-11-02T15:46:14.734124Z"},{"id":"DSA-1871-1","title":"wordpress - several vulnerabilities","status":"published","published":"2009-08-23T00:00:00Z","modified":"2026-03-09T01:19:12.165337Z","updated_at":"2026-11-02T15:46:14.734124Z"},{"id":"DSA-1871-2","title":"wordpress - regression fix","status":"published","published":"2009-08-26T00:00:00Z","modified":"2026-03-09T01:23:13.151368Z","updated_at":"2026-11-02T15:46:14.734124Z"},{"id":"GHSA-v759-3wr5-p294","title":"Moodle vulnerable to Cross-site scripting","description":"The `_bad_protocol_once` function in `phpgwapi/inc/class.kses.inc.php` in KSES, as used in eGroupWare before 1.4.003, Moodle before 1.8.5, and other products, allows remote attackers to bypass HTML filtering and conduct cross-site scripting (XSS) attacks via a string containing crafted URL protocols.","status":"published","published":"2022-05-01T23:40:50Z","modified":"2024-02-09T16:26:39.410573Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:56.981655Z"}]}}
