moodle/moodle is vulnerable to Cross-site Scripting (XSS). The vulnerability exists in the blog_get_headers
function of lib.php
due to insufficient sanitization of user-supplied data in the blog search functionality which allows a remote attacker to trick the victim to follow a specially crafted link and execute arbitrary JavaScript.
CPE | Name | Operator | Version |
---|---|---|---|
moodle/moodle | le | v4.0.5 | |
moodle/moodle | le | v4.1.0 | |
moodle/moodle | le | v4.0.5 | |
moodle/moodle | le | v4.1.0 |
git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-76861
bugzilla.redhat.com/show_bug.cgi?id=2162547
git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-76861
github.com/advisories/GHSA-grmj-gpwm-98ww
github.com/moodle/moodle/commit/044e23f6913f9ba099a547adf77907978cf2adc4
github.com/moodle/moodle/commit/313d44f83ac1272aafe77231cd08f8c50bd1811b
moodle.org/mod/forum/discuss.php?d=443273#p1782022