Live threats

All CVEs / Moodle

CVE-2011-4280Moodle

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
3.6%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
Jul 16, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N

What happens

Cross-site scripting (XSS) vulnerability in the Spike PHPCoverage (aka spikephpcoverage) library, as used in Moodle 2.0.x before 2.0.2 and other products, allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.

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 < 2.0.2 2.0.2 composer require "moodle/moodle:^2.0.2"

Per OSV / GitHub Advisories (GHSA-mx5g-3vxh-rgm8). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle2.0.0
moodlemoodle2.0.1
nimish_pachapurkarspike_phpcoverageall

Official sources

References

Links published by the sources. Open them with care.