All vulnerabilities

Servers and applications

CVE-2009-0502

Cross-site scripting (XSS) vulnerability in blocks/html/block_html.php in Snoopy 1.2.3, as used in Moodle 1.6 before 1.6.9, 1.7 before 1.7.7, 1.8 before 1.8.8, and 1.9 before 1.9.4, allows remote attackers to inject arbitrary web script or HTML via an HTML block, which is not properly handled when the "Login as" feature is used to visit a MyMoodle or Blog page.

Severity
Medium 4.3
Published
10 Feb 2009
Last changed
16 Jun 2026
Added to UpHeron
1 Nov 2026
Exploit chance
1.3% in the next 30 daysHigher than 69% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · No login needed
Attacker can
Change some data
CVSS vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
Sources
NVD

Affected software

SoftwareAffected versions
MoodleServers and applications · cpe:a:moodle:moodle
  • Version 1.9.3
  • Version 1.9.2
  • Version 1.9.1
  • Version 1.8.7
All 17 release lines
  • Version 1.7.0
  • Version 1.7.1
  • Version 1.7.2
  • Version 1.7.3
  • Version 1.7.4
  • Version 1.7.5
  • Version 1.7.6
  • Version 1.8.1
  • Version 1.8.2
  • Version 1.8.3
  • Version 1.8.4
  • Version 1.8.5
  • Version 1.8.6
  • Version 1.8.7
  • Version 1.9.1
  • Version 1.9.2
  • Version 1.9.3

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2009-0502
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2009-0502