VDB
Sign up
MEDIUM

GHSA-v759-3wr5-p294

Moodle vulnerable to Cross-site scripting

Quick fix

GHSA-v759-3wr5-p294 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^1.8.5

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0Fixed in: 1.8.5
Fixcomposer require moodle/moodle:^1.8.5

References