CVE-2022-30596: Cross-site Scripting in moodle

Published May 10, 2022
·
Updated

A flaw was found in moodle where ID numbers displayed when bulk allocating markers to assignments required additional sanitizing to prevent a stored XSS risk.

Other sources

ID numbers displayed when bulk allocating markers to assignments required additional sanitizing to prevent a stored XSS risk.

Versions affected: 4.0, 3.11 to 3.11.6, 3.10 to 3.10.10, 3.9 to 3.9.13 and earlier unsupported versions Versions fixed: 4.0.1, 3.11.7, 3.10.11 and 3.9.14.

— Red Hat

Affected Software

20 affected componentsFixes available
composer/moodle/moodle>=3.9<3.9.14
3.9.14
composer/moodle/moodle>=3.10<3.10.11
3.10.11
composer/moodle/moodle>=3.11<3.11.7
3.11.7
composer/moodle/moodle>=4.0<4.0.1
4.0.1
redhat/moodle<4.0.1
4.0.1
redhat/moodle<3.11.7
3.11.7
redhat/moodle<3.10.11
3.10.11
redhat/moodle<3.9.14
3.9.14
Moodle Moodle>=3.9<3.9.14
Moodle Moodle>=3.10<3.10.11
Moodle Moodle>=3.11<3.11.7
Moodle Moodle=4.0.0
redhat Enterprise Linux=8.0
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Fedoraproject Fedora=36
composer/moodle/moodle>=3.9, <3.9.14
3.9.14
composer/moodle/moodle>=3.10, <3.10.11
3.10.11
composer/moodle/moodle>=3.11, <3.11.7
3.11.7
composer/moodle/moodle>=4.0, <4.0.1
4.0.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/moodle/moodle to a version that resolves this vulnerability.

    Fixed in 3.9.14
  2. Upgrade

    Upgrade composer/moodle/moodle to a version that resolves this vulnerability.

    Fixed in 3.10.11
  3. Upgrade

    Upgrade composer/moodle/moodle to a version that resolves this vulnerability.

    Fixed in 3.11.7
  4. Upgrade

    Upgrade composer/moodle/moodle to a version that resolves this vulnerability.

    Fixed in 4.0.1
  5. Upgrade

    Upgrade redhat/moodle to a version that resolves this vulnerability.

    Fixed in 4.0.1
  6. Upgrade

    Upgrade redhat/moodle to a version that resolves this vulnerability.

    Fixed in 3.11.7
  7. Upgrade

    Upgrade redhat/moodle to a version that resolves this vulnerability.

    Fixed in 3.10.11
  8. Upgrade

    Upgrade redhat/moodle to a version that resolves this vulnerability.

    Fixed in 3.9.14
  9. Upgrade

    Upgrade moodle to a version that resolves this vulnerability.

    Fixed in 4.0.1
  10. Upgrade

    Upgrade moodle to a version that resolves this vulnerability.

    Fixed in 3.11.7
  11. Upgrade

    Upgrade moodle to a version that resolves this vulnerability.

    Fixed in 3.10.11
  12. Upgrade

    Upgrade moodle to a version that resolves this vulnerability.

    Fixed in 3.9.14

Event History

May 18, 2022
CVE Published
via MITRE·04:59 PM
Data Sourced
via MITRE·04:59 PM
DescriptionWeakness
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 19, 2022
Advisory Published
12:00 AM
Data Sourced
via GitHub·12:00 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Packagist·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-30596?

CVE-2022-30596 has a medium severity rating due to the potential for stored XSS attacks.

2

How do I fix CVE-2022-30596?

To fix CVE-2022-30596, update your Moodle installation to versions 3.9.14, 3.10.11, 3.11.7, or 4.0.1.

3

What versions of Moodle are affected by CVE-2022-30596?

CVE-2022-30596 affects Moodle versions 3.9.x up to 3.9.14, 3.10.x up to 3.10.11, 3.11.x up to 3.11.7, and 4.0.0.

4

Is CVE-2022-30596 a local or remote vulnerability?

CVE-2022-30596 is a remote vulnerability since it can be exploited through the web interface without direct system access.

5

Does CVE-2022-30596 affect Moodle installations on Red Hat?

Yes, CVE-2022-30596 affects Moodle installations on Red Hat versions up to 3.9.14, 3.10.11, 3.11.7, and 4.0.1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203