Every CVE Search/ Get API key

CVE-2011-4297

Moodle does not properly restrict comment capabilities

6.4 MediumFix available

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.

Exploit likelihood

1.56%Up 0.4 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.4

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.

Record
CVE-2011-4297
CVSS 2.0
6.4 MediumAV:N/AC:L/Au:N/C:N/I:P/A:P
Weakness
CWE-264
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2011-4297
Updated
2026-11-02
EUVDEUVD-2011-4234 No score

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.

Record
EUVD-2011-4234
Updated
2026-11-03
GitHub AdvisoriesGHSA-62wv-866c-rh86 6.6

Moodle does not properly restrict comment capabilities

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.

Record
GHSA-62wv-866c-rh86
CVSS 4.0
6.6 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U
Weakness
CWE-863
Updated
2026-11-02
OSVGHSA-62wv-866c-rh86 6.6

Moodle does not properly restrict comment capabilities

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.

Record
GHSA-62wv-866c-rh86
CVSS 4.0
6.6 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U
Weakness
CWE-863
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
moodle/moodle
Packagist
2.0.0 up to 2.0.4
2.0.4
moodle/moodle
Packagist
2.1.0 up to 2.1.1
2.1.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2011-4297 is a medium vulnerability (CVSS 6.4) in Moodle, published July 16, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.56%, the 75th percentile. Fixed in moodle/moodle 2.0.4.

References

MoveEnter Open