Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-35651

A stored XSS and blind SSRF vulnerability was found in Moodle, occurs due to insufficient sanitization of user-supplied data in the SCORM track details. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website to steal potentially sensitive information, change appearance of the web page, can perform phishing and drive-by-download attacks.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-35651
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 07:45 UTC · Revision 1

Source evidence

CVE-2022-35651

core-osv · Original source

Published 25 Jul 2022, 15:30 UTC

A stored XSS and blind SSRF vulnerability was found in Moodle, occurs due to insufficient sanitization of user-supplied data in the SCORM track details. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website to steal potentially sensitive information, change appearance of the web page, can perform phishing and drive-by-download attacks.

osv:CVE-2022-35651
Complete source record
{
  "id": "89497fbf86a28c7913573f03fc33bca860c80d14ff793de78588018caf1868bc",
  "url": "https://osv.dev/vulnerability/CVE-2022-35651",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-35651",
    "summary": "A stored XSS and blind SSRF vulnerability was found in Moodle, occurs due to insufficient sanitization of user-supplied data in the SCORM track details. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website to steal potentially sensitive information, change appearance of the web page, can perform phishing and drive-by-download attacks.",
    "evidence": "osv:CVE-2022-35651",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-35651",
      "aliases": [
        "BIT-moodle-2022-35651",
        "CVE-2022-35651",
        "GHSA-wwv7-h477-wrv7"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/moodle/moodle",
              "type": "GIT",
              "events": [
                {
                  "introduced": "500c131eb49771e36f68d151dfa37fef5a9bc2df"
                },
                {
                  "fixed": "84d3ae1b081ba764a54baf40ed063b96764c81c4"
                },
                {
                  "introduced": "94f2d3fc4b974c5c7d500988c56b7ca15f58d7ec"
                },
                {
                  "fixed": "b8fd606243238b9624b12c0fba6c39f74b0c0869"
                },
                {
                  "introduced": "8b359ad7a63cf219110bca80552fe3d4ea2a635d"
                },
                {
                  "last_affected": "ac9e395ed6661fa76ba7e1d6a77e47631e88a9ca"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.9.0"
                      },
                      {
                        "fixed": "3.9.15"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.11.0"
                      },
                      {
                        "fixed": "3.11.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:moodle:moodle:4.0.0:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0-NA"
                      },
                      {
                        "last_affected": "4.0.0-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:moodle:moodle:4.0.0:beta:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0-beta"
                      },
                      {
                        "last_affected": "4.0.0-beta"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:moodle:moodle:4.0.0:rc1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0-rc1"
                      },
                      {
                        "last_affected": "4.0.0-rc1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:moodle:moodle:4.0.0:rc2:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0-rc2"
                      },
                      {
                        "last_affected": "4.0.0-rc2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:moodle:moodle:4.0.0:rc3:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0-rc3"
                      },
                      {
                        "last_affected": "4.0.0-rc3"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:moodle:moodle:4.0.0:rc4:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0-rc4"
                      },
                      {
                        "last_affected": "4.0.0-rc4"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:moodle:moodle:4.0.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.1"
                      },
                      {
                        "last_affected": "4.0.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.0.0-NA",
            "4.0.0-beta",
            "4.0.0-rc1",
            "4.0.0-rc2",
            "4.0.0-rc3",
            "4.0.0-rc4",
            "4.0.1",
            "v3.9.14",
            "v4.0.1",
            "v3.11.7",
            "v4.0.0",
            "v3.11.6",
            "v3.9.13",
            "v3.11.5",
            "v3.9.12",
            "v3.11.4",
            "v3.9.11",
            "v3.11.3",
            "v3.9.10",
            "v3.11.1",
            "v3.11.2",
            "v3.9.9",
            "v3.9.8",
            "v3.11.0",
            "v3.9.7",
            "v3.9.6",
            "v3.9.5",
            "v3.9.4",
            "v3.9.3",
            "v3.9.2",
            "v3.9.1",
            "v3.9.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-35651.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.742806326Z",
      "provider": "osv",
      "references": [
        "https://moodle.org/mod/forum/discuss.php?d=436458",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35651.json",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V/",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-35651",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2106275"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "fedora",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15"
                  },
                  {
                    "last_affected": "Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35651.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-35651",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 493488,
  "published_at": "2022-07-25T15:30:22+00:00"
}