CVE-2008-1502
Moodle vulnerable to Cross-site scripting
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.
Exploit likelihood
What each source reports
NVD Score used
4.3
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.
- Record
CVE-2008-1502- CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2008-1502- Updated
- 2026-11-02
EUVDEUVD-2022-5304 No score
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.
- Record
EUVD-2022-5304- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-v759-3wr5-p294 No score
Moodle vulnerable to Cross-site scripting
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.
- Record
GHSA-v759-3wr5-p294- Weakness
- CWE-79
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2008-1502- Updated
- 2026-11-02
OSVDEBIAN-CVE-2008-1502 No score
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.
- Record
DEBIAN-CVE-2008-1502- Updated
- 2026-11-02
OSVGHSA-v759-3wr5-p294 No score
Moodle vulnerable to Cross-site scripting
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.
- Record
GHSA-v759-3wr5-p294- Weakness
- CWE-79
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
moodle/moodlePackagist |
before 1.8.5 | 1.8.5 |
wordpressDebian:12 |
before 2.5.0-1 | 2.5.0-1 |
wordpressDebian:13 |
before 2.5.0-1 | 2.5.0-1 |
wordpressDebian:14 |
before 2.5.0-1 | 2.5.0-1 |
moodleDebian:4.0 From an advisory covering 9 CVEs |
before 1.6.3-2+etch1, plus listed versions 1.6.3-2 |
1.6.3-2+etch1 |
wordpressDebian:4.0 From an advisory covering 11 CVEs |
before 2.0.10-1etch4, plus listed versions 2.0.10-12.0.10-1etch12.0.10-1etch22.0.10-1etch32.0.10-1~bpo.12.0.9-1 |
2.0.10-1etch4 |
wordpressDebian:5.0 From an advisory covering 11 CVEs |
before 2.5.1-11+lenny1, plus listed versions 2.5.1-11 |
2.5.1-11+lenny1 |
wordpressDebian:4.0 From an advisory covering 11 CVEs |
before 2.0.10-1etch5, plus listed versions 2.0.10-12.0.10-1etch12.0.10-1etch22.0.10-1etch32.0.10-1etch42.0.10-1~bpo.12.0.9-1 |
2.0.10-1etch5 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2008-1502 is a medium vulnerability (CVSS 4.3) in Egroupware, published March 25, 2008. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 10.5%, the 95th percentile. Fixed in moodle/moodle 1.8.5.
References
secunia.com/advisories/29491
secunia.com/advisories/31017
secunia.com/advisories/32400
lists.opensuse.org/opensuse-security-announce/2008-07/msg00006.html
secunia.com/advisories/32446
debian.org/security/2009/dsa-1871
Show 28 moreShow less
secunia.com/advisories/30986
exchange.xforce.ibmcloud.com/vulnerabilities/41435
egroupware.org/viewvc/branches/1.4/phpgwapi/inc/class.kses.inc.php?r1=23625&r2=25110&pathrev=25110
redhat.com/archives/fedora-package-announce/2008-July/msg00331.html
secunia.com/advisories/31018
usn.ubuntu.com/658-1
docs.moodle.org/en/Release_Notes
openwall.com/lists/oss-security/2008/07/08/14
secunia.com/advisories/30073
egroupware.org/changelog
securityfocus.com/bid/28424
gentoo.org/security/en/glsa/glsa-200805-04.xml
vupen.com/english/advisories/2008/0989/references
debian.org/security/2008/dsa-1691
secunia.com/advisories/31167
nvd.nist.gov/vuln/detail/CVE-2008-1502
web.archive.org/web/20080709031015/http://www.securityfocus.com/bid/28424
web.archive.org/web/20080828131802/http://secunia.com/advisories/31017
web.archive.org/web/20080905011948/http://secunia.com/advisories/31018
web.archive.org/web/20081011001554/http://secunia.com/advisories/31167
web.archive.org/web/20081025081058/http://secunia.com/advisories/32400
web.archive.org/web/20081028073531/http://secunia.com/advisories/32446
web.archive.org/web/20090129193143/http://secunia.com/advisories/30986
web.archive.org/web/20100819022833/http://secunia.com/advisories/30073
web.archive.org/web/20120719035305/http://secunia.com/advisories/29491
github.com/advisories/GHSA-v759-3wr5-p294
security-tracker.debian.org/tracker/CVE-2008-1502
github.com/moodle/moodle