« Back to list

CVE-2009-0502

Status: ModifiedMedium (4.3)—

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.

CVSS

Exploitation probability (EPSS)

EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).

Affected technologies (2)

CWEs

References

Raw JSON (NVD)

Show
{
  "id": "CVE-2009-0502",
  "cveTags": [],
  "metrics": {
    "cvssMetricV2": [
      {
        "type": "Primary",
        "source": "nvd@nist.gov",
        "cvssData": {
          "version": "2.0",
          "baseScore": 4.3,
          "accessVector": "NETWORK",
          "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "authentication": "NONE",
          "integrityImpact": "PARTIAL",
          "accessComplexity": "MEDIUM",
          "availabilityImpact": "NONE",
          "confidentialityImpact": "NONE"
        },
        "acInsufInfo": false,
        "impactScore": 2.9,
        "baseSeverity": "MEDIUM",
        "obtainAllPrivilege": false,
        "exploitabilityScore": 8.6,
        "obtainUserPrivilege": false,
        "obtainOtherPrivilege": false,
        "userInteractionRequired": true
      }
    ]
  },
  "affected": [
    {
      "source": "cve@mitre.org",
      "affectedData": [
        {
          "vendor": "n/a",
          "product": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ]
    }
  ],
  "published": "2009-02-10T02:30:00.563",
  "references": [
    {
      "url": "http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.html",
      "source": "cve@mitre.org"
    },
    {
      "url": "http://moodle.org/security/",
      "tags": [
        "Vendor Advisory"
      ],
      "source": "cve@mitre.org"
    },
    {
      "url": "http://secunia.com/advisories/33955",
      "source": "cve@mitre.org"
    },
    {
      "url": "http://secunia.com/advisories/34418",
      "source": "cve@mitre.org"
    },
    {
      "url": "http://www.debian.org/security/2009/dsa-1724",
      "source": "cve@mitre.org"
    },
    {
      "url": "http://www.openwall.com/lists/oss-security/2009/02/04/1",
      "source": "cve@mitre.org"
    },
    {
      "url": "http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.html",
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "http://moodle.org/security/",
      "tags": [
        "Vendor Advisory"
      ],
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "http://secunia.com/advisories/33955",
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "http://secunia.com/advisories/34418",
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "http://www.debian.org/security/2009/dsa-1724",
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "http://www.openwall.com/lists/oss-security/2009/02/04/1",
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    }
  ],
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "type": "Primary",
      "source": "nvd@nist.gov",
      "description": [
        {
          "lang": "en",
          "value": "CWE-79"
        }
      ]
    }
  ],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "Vulnerabilidad de ejecución de secuencias de comandos en sitios cruzados (XSS) en blocks/html/block_html.php en Snoopy v1.2.3, como la utilizada en el Moodle v1.6 anterior a v1.6.9, v1.7 anterior a v1.7.7, v1.8 anterior a v1.8.8, y v1.9 anterior a v1.9.4, permite a atacantes remotos inyectar secuencias de comandos web o HTML a través de un bloqueo HTML que no es manejado correctamente cuando la característica \"Login as\" es utilizada para visitar una página MyMoodle o Blog."
    }
  ],
  "lastModified": "2026-06-16T23:05:10.640",
  "configurations": [
    {
      "nodes": [
        {
          "negate": false,
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:snoopy:snoopy:1.2.3:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "4635C311-F808-474C-BD91-36F1C1C7D3E3"
            }
          ],
          "operator": "OR"
        },
        {
          "negate": false,
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:moodle:moodle:1.7.0:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "CDC97F31-15F5-48D9-8768-D3FE5C0BD6E6"
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:1.7.1:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "FB16198E-A32D-4CFA-9CCE-65871596E6AC"
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:1.7.2:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "ABFE9D24-24DB-49EA-B59E-AF9B47D46EB4"
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:1.7.3:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "56551145-5213-4165-88C9-C351DACDD1C6"
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:1.7.4:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "A589727E-92BB-40DA-8172-89279EB9B73C"
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:1.7.5:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "92E97539-A7CC-48D3-A897-ADE4BC194B2E"
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:1.7.6:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "D19C1954-6330-449D-9101-378D5DBD122C"
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:1.8.1:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "492A28FE-A2F8-4FF7-AC5B-0C3F5508506D"
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:1.8.2:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "28A897CA-3D8F-4575-BBD2-1C0C5A2ECC99"
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:1.8.3:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "A4A3A5D9-D96E-46B3-AC22-25045564EB96"
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:1.8.4:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "AF91F8EA-1737-4E11-9931-ACAFB4BC0018"
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:1.8.5:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "1E81E148-5710-439C-8A1A-884D27640AAD"
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:1.8.6:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "A3B70465-F734-4C65-9790-0D83D03B7A16"
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:1.8.7:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "DE2C0217-A25A-4D0A-8CC6-64DEBC9E198F"
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:1.9.1:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "24F2602B-8ED3-4026-A9A4-31BE8BDC7724"
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:1.9.2:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "D7F24649-B67F-4809-9F54-7B623AEF5A4A"
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:1.9.3:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "6B81655E-C3B5-4115-A4C4-B7AC2FCDAB7F"
            }
          ],
          "operator": "OR"
        }
      ],
      "operator": "AND"
    }
  ],
  "sourceIdentifier": "cve@mitre.org"
}