CVE-2008-1502: Moodle vulnerable to Cross-site scripting

Published Mar 25, 2008
·
Updated

Moodle vulnerable to Cross-site scripting

Other sources

The badprotocolonce 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.

— MITRE

The badprotocolonce 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.

— GitHub

Affected Software

45 affected componentsFixes available
composer/moodle/moodle<1.8.5
1.8.5
eGroupWare eGroupWare<=1.4.002
eGroupWare eGroupWare=1.0
eGroupWare eGroupWare=1.0.1
eGroupWare eGroupWare=1.0.3
eGroupWare eGroupWare=1.0.6
eGroupWare eGroupWare=1.2.106-2
eGroupWare eGroupWare=1.4.001
Moodle Moodle<=1.8.4
Moodle Moodle=1.1.1
Moodle Moodle=1.2.0
Moodle Moodle=1.2.1
Moodle Moodle=1.3.0
Moodle Moodle=1.3.1
Moodle Moodle=1.3.2
Moodle Moodle=1.3.3
Moodle Moodle=1.3.4
Moodle Moodle=1.4.1
Moodle Moodle=1.4.2
Moodle Moodle=1.4.3
Moodle Moodle=1.4.4
Moodle Moodle=1.4.5
Moodle Moodle=1.5
Moodle Moodle=1.5.0-beta
Moodle Moodle=1.5.1
Moodle Moodle=1.5.2
Moodle Moodle=1.5.3
Moodle Moodle=1.6.0
Moodle Moodle=1.6.1
Moodle Moodle=1.6.2
Moodle Moodle=1.6.3
Moodle Moodle=1.6.4
Moodle Moodle=1.6.5
Moodle Moodle=1.6.6
Moodle Moodle=1.6.7
Moodle Moodle=1.7.1
Moodle Moodle=1.7.2
Moodle Moodle=1.7.3
Moodle Moodle=1.7.4
Moodle Moodle=1.7.5
Moodle Moodle=1.7.6
Moodle Moodle=1.8.1
Moodle Moodle=1.8.2
Moodle Moodle=1.8.3
composer/moodle/moodle<1.8.5
1.8.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/moodle/moodle to a version that resolves this vulnerability.

    Fixed in 1.8.5

Event History

Mar 25, 2008
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Data Sourced
via NVD·07:44 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 1, 2022
Advisory Published
via GitHub·11:40 PM
Data Sourced
via Packagist·11:40 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2008-1502?

CVE-2008-1502 has been classified with a severity that allows potential remote code execution through cross-site scripting (XSS) attacks.

2

How do I fix CVE-2008-1502?

To mitigate the risks of CVE-2008-1502, update to Moodle version 1.8.5 or later and ensure you are using the latest version of eGroupWare.

3

Which versions are affected by CVE-2008-1502?

CVE-2008-1502 affects eGroupWare versions before 1.4.003 and Moodle versions before 1.8.5, along with various older versions of both software.

4

What types of attacks can be performed through CVE-2008-1502?

CVE-2008-1502 allows attackers to bypass HTML filtering, enabling them to conduct cross-site scripting (XSS) attacks.

5

Is there a patch available for CVE-2008-1502?

There is no specific patch for CVE-2008-1502, but upgrading to the fixed versions is recommended to ensure security.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203