Skip to content
OpenAdvisories
Medium · 6.1 Public exploit CVE-2020-25627 BIT-moodle-2020-25627EUVD-2022-4562GHSA-mgfp-qcf2-pw3m

Moodle stored Cross-site Scripting (XSS)

Published Dec 9, 2020 · Updated Aug 4, 2024 · Assigned by redhat

Description

The moodlenetprofile user profile field required extra sanitizing to prevent a stored XSS risk. This affects versions 3.9 to 3.9.1. Fixed in 3.9.2.

Affected products

VendorProductAffectedFixed
— Moodle 3.9 to 3.9.1 —

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
Ubuntu Pro 18.04 LTS moodle No fix yet —
Ubuntu Pro 16.04 LTS moodle No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist moodle/moodle >= 3.9, < 3.9.2 3.9.2 GHSA-mgfp-qcf2-pw3m

References