{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.5.18"
              },
              {
                "introduced": "3.8.0"
              },
              {
                "fixed": "3.8.9"
              },
              {
                "introduced": "3.9.0"
              },
              {
                "fixed": "3.9.7"
              },
              {
                "introduced": "3.10.0"
              },
              {
                "fixed": "3.10.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "22984eaeccf9ccd72572cc4cc51ae9372cefa06d"
            },
            {
              "introduced": "f968cd44e8ee5d54b1bc56823040ff770dbf18af"
            },
            {
              "fixed": "49648fdf30aae05b61604a12549436cee8c96436"
            },
            {
              "introduced": "500c131eb49771e36f68d151dfa37fef5a9bc2df"
            },
            {
              "fixed": "270f52bf55acaf121cbae6643a8fa6545d545c3f"
            },
            {
              "introduced": "ec58cefefb2722f61f77c9a2b6a12d40a8c078a0"
            },
            {
              "fixed": "237f4ccada7c8ba85ac9391193293491d8953018"
            }
          ],
          "repo": "https://github.com/moodle/moodle",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "ID numbers displayed in the quiz grading report required additional sanitizing to prevent a stored XSS risk. Moodle 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8, 3.5 to 3.5.17 and earlier unsupported versions are affected.",
  "id": "CVE-2021-32475",
  "modified": "2026-03-13T21:49:09.094667327Z",
  "published": "2022-03-11T18:15:16.247Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://moodle.org/mod/forum/discuss.php?d=422309"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}