CVE-2008-1502 json
Moodle vulnerable to Cross-site scripting
published 2008-03-25 18 y ago modified 2026-06-16 4 mo ago also GHSA-v759-3wr5-p294 , EUVD-2022-5304
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 10.5%
- EPSS 10.5% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist moodle/moodle 1.8.5
- wordpress Debian 14, Debian 13, Debian 12 2.5.0-1
debian advisories DEBIAN-CVE-2008-1502
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2008-1502 updated
moodle: KSES related XSS issue
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
10.50% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- egroupware.org http://www.egroupware.org/viewvc/branches/1.4/phpgwapi/inc/class.kses.inc.php?r1=23625&r2=25110&pathrev=25110 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | <1.8.5 |
1.8.5 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
debian.org
/security/2008/dsa-1691
vendor-advisory, web, patch
-
docs.moodle.org
/en/Release_Notes#Moodle_1.8.5
web, patch, vendor-advisory
-
securityfocus.com
/bid/28424
vdb-entry, patch
-
egroupware.org
/viewvc/branches/1.4/phpgwapi/inc/class.kses.inc.php?r1=23625&r2=25110&pathrev=25110
web, exploit
-
lists.opensuse.org
/opensuse-security-announce/2008-07/msg00006.html
vendor-advisory, web
-
debian.org
/security/2009/dsa-1871
vendor-advisory, web
-
redhat.com
/archives/fedora-package-announce/2008-July/msg00331.html
vendor-advisory, web
-
usn.ubuntu.com
/658-1/
vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200805-04.xml
vendor-advisory, web
-
secunia.com
/advisories/29491
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/31017
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/32400
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/32446
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/30986
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/31018
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/30073
third-party-advisory, vendor-advisory
-
vupen.com
/english/advisories/2008/0989/references
vdb-entry, vendor-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/41435
vdb-entry, web
-
openwall.com
/lists/oss-security/2008/07/08/14
mailing-list, web
-
egroupware.org
/changelog
web
-
secunia.com
/advisories/31167
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2008-1502
advisory
-
github.com
/moodle/moodle
package
-
usn.ubuntu.com
/658-1
web
-
web.archive.org
/web/20080709031015/http://www.securityfocus.com/bid/28424
web
-
web.archive.org
/web/20080828131802/http://secunia.com/advisories/31017
web
-
web.archive.org
/web/20080905011948/http://secunia.com/advisories/31018
web
-
web.archive.org
/web/20081011001554/http://secunia.com/advisories/31167
web
-
web.archive.org
/web/20081025081058/http://secunia.com/advisories/32400
web
-
web.archive.org
/web/20081028073531/http://secunia.com/advisories/32446
web
-
web.archive.org
/web/20090129193143/http://secunia.com/advisories/30986
web
-
web.archive.org
/web/20100819022833/http://secunia.com/advisories/30073
web
-
web.archive.org
/web/20120719035305/http://secunia.com/advisories/29491
web
Sources
- CVE List CVE-2008-1502
- GitHub Advisory GHSA-v759-3wr5-p294
- NVD CVE-2008-1502
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.