Moodle vulnerable to Cross-site scripting
Date: 2022-05
Affected: composer/moodle/moodle
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2008-1502
CWE: CWE-79

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.


Mitigations:

Architectural layers (MAESTRO):