{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "14.8.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "7750179496964aa7effd08e5ffde6be0d00f2bdf"
            }
          ],
          "repo": "https://github.com/tecnickcom/tcexam",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "A reflected cross-site scripting vulnerability exists in TCExam \u003c= 14.8.4. The paths provided in the f, d, and dir parameters in tce_select_mediafile.php were not properly validated and could cause reflected XSS via the unsanitized output of the path supplied. An attacker could craft a malicious link which, if triggered by an administrator, could result in the attacker hijacking the victim's session or performing actions on their behalf.",
  "id": "CVE-2021-20116",
  "modified": "2026-03-13T21:52:35.240553435Z",
  "published": "2021-08-05T21:15:10.247Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://www.tenable.com/security/research/tra-2021-32"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}