Skip to content
OpenAdvisories
Medium CVE-2008-1502 EUVD-2022-5304GHSA-v759-3wr5-p294

Moodle vulnerable to Cross-site scripting

Published Mar 25, 2008 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 wordpress 2.5.0-1 —
Debian 13 wordpress 2.5.0-1 —
Debian 12 wordpress 2.5.0-1 —
Debian 5.0 wordpress 2.5.1-11+lenny1 DSA-1871-1
Debian 4.0 moodle 1.6.3-2+etch1 DSA-1691-1
Debian 4.0 wordpress 2.0.10-1etch4 DSA-1871-2, DSA-1871-1

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist moodle/moodle < 1.8.5 1.8.5 GHSA-v759-3wr5-p294

Advisories 3

References