{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.10.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "00821c744c3f102e706500f9815e0fa5e6b8fb25"
            }
          ],
          "repo": "https://github.com/moodle/moodle",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "It was found in Moodle before version 3.10.1 that some search inputs were vulnerable to reflected XSS due to insufficient escaping of search queries.",
  "id": "CVE-2021-20183",
  "modified": "2026-03-13T21:48:49.028155184Z",
  "published": "2021-01-28T19:15:13.160Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://moodle.org/mod/forum/discuss.php?d=417166"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}