Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-20115

A reflected cross-site scripting vulnerability exists in TCExam <= 14.8.3. The paths provided in the f, d, and dir parameters in tce_filemanager.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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-20115
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:59 UTC · Revision 1

Source evidence

CVE-2021-20115

core-osv · Original source

Published 5 Aug 2021, 21:15 UTC

A reflected cross-site scripting vulnerability exists in TCExam <= 14.8.3. The paths provided in the f, d, and dir parameters in tce_filemanager.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.

osv:CVE-2021-20115
Complete source record
{
  "id": "25d5b0e4c02d1bcfbf5553583b3c9eff116b67a2fe11a43fff4050edfa79d8eb",
  "url": "https://osv.dev/vulnerability/CVE-2021-20115",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-20115",
    "summary": "A reflected cross-site scripting vulnerability exists in TCExam <= 14.8.3. The paths provided in the f, d, and dir parameters in tce_filemanager.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.",
    "evidence": "osv:CVE-2021-20115",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-20115",
      "aliases": [
        "CVE-2021-20115"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/tecnickcom/tcexam",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "77db4558d6d5b142688b595570d14e904018308b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:tecnick:tcexam:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "14.8.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "14.8.3",
            "14.8.2",
            "14.8.1",
            "14.8.0",
            "14.7.0",
            "14.6.0",
            "14.5.2",
            "14.5.1",
            "14.5.0",
            "14.4.1",
            "14.4.0",
            "14.3.2",
            "14.3.1",
            "14.3.0",
            "14.2.3",
            "14.2.2",
            "14.2.1",
            "14.1.4",
            "14.1.3",
            "14.1.2",
            "14.1.0",
            "14.0.3",
            "14.0.2",
            "14.0.1",
            "14.0.0",
            "13.3.0",
            "13.2.1",
            "13.2.0",
            "13.1.1",
            "13.0.2",
            "13.0.1",
            "12.2.5",
            "12.2.4",
            "12.2.3",
            "12.2.2",
            "12.2.1",
            "12.2.0",
            "12.1.30",
            "12.1.29",
            "12.1.28",
            "12.1.027",
            "12.1.026",
            "12.1.025",
            "12.1.024",
            "12.1.023",
            "12.1.022",
            "12.1.021",
            "12.1.020",
            "12.1.019",
            "12.1.018",
            "12.1.017",
            "12.1.016",
            "12.1.015",
            "12.1.014",
            "12.1.013",
            "12.1.012",
            "12.1.011",
            "12.1.010",
            "12.1.009",
            "12.1.008",
            "12.1.007",
            "12.1.006",
            "12.1.005",
            "12.1.004",
            "12.1.003",
            "12.1.002",
            "12.1.001",
            "12.1.000",
            "12.0.014",
            "12.0.013"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20115.json"
          }
        }
      ],
      "modified": "2026-10-24T10:31:01.209569362Z",
      "provider": "osv",
      "references": [
        "https://www.tenable.com/security/research/tra-2021-32"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-20115",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 439748,
  "published_at": "2021-08-05T21:15:10.2+00:00"
}