Live threats

All CVEs / Moodle

CVE-2011-4297Moodle

Medium 6.4 No auth needed

Priority
54
CVSS 2.0
6.4
EPSS
1.5%
probability of exploitation in 30 days · percentile 75
Auth required
No
Published
Jul 16, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-264
Vector
AV:N/AC:L/Au:N/C:N/I:P/A:P

What happens

comment/lib.php in Moodle 2.0.x before 2.0.4 and 2.1.x before 2.1.1 does not properly restrict comment capabilities, which allows remote attackers to post a comment by leveraging the guest role and operating on a front-page activity.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist moodle/moodle ≥ 2.0.0 < 2.0.4 2.0.4 composer require "moodle/moodle:^2.0.4"
Packagist moodle/moodle ≥ 2.1.0 < 2.1.1 2.1.1 composer require "moodle/moodle:^2.1.1"

Per OSV / GitHub Advisories (GHSA-62wv-866c-rh86). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle2.0.0
moodlemoodle2.0.1
moodlemoodle2.0.2
moodlemoodle2.0.3
moodlemoodle2.1.0

Official sources

References

Links published by the sources. Open them with care.