CVE-2021-43558: Cross-site Scripting in moodle

medium Affects moodle/moodle. Feed 2026.10.29.3, updated 2026-10-29; published ; advisory modified .

Cross-site Scripting in moodle

Package
moodle/moodle Composer
Affected versions
>=3.11.0 and <3.11.4 or >=3.10.0 and <3.10.8 or >=3.9.0 and <3.9.11
Fixed in
3.11.4, 3.10.8, 3.9.11
Severity
medium  CVSS 6.1
Exploitation
not on CISA KEV · EPSS 1% (58.8th percentile)
Published
2021-11-23
Source
osv.dev

References

CWE-79
NVD recordmoodle/moodle advisories

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked

Related advisories