{"id":"CVE-2021-20116","aliases":["EUVD-2021-7573","GHSA-wghf-896v-rpqj"],"status":"published","title":"A reflected cross-site scripting vulnerability exists in TCExam \u003c= 14.8.4. The paths provided in...","description":"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.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00937,"percentile":0.61266,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2021-08-05T20:38:27Z","modified":"2026-10-24T10:30:45Z","products":[{"vendor":"tecnick","product":"tcexam"}],"references":[{"url":"https://www.tenable.com/security/research/tra-2021-32","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20116"},{"url":"https://github.com/advisories/GHSA-wghf-896v-rpqj"}],"sources":{"cve":[{"id":"CVE-2021-20116","description":"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.","status":"published","published":"2021-08-05T20:38:27Z","modified":"2024-08-03T17:30:07.684Z","updated_at":"2026-11-02T14:32:55.19484Z"}],"euvd":[{"id":"EUVD-2021-7573","description":"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.","status":"published","published":"2021-08-05T20:38:27Z","modified":"2024-08-03T17:30:07Z","updated_at":"2026-11-03T03:25:09.841069Z"}],"ghsa":[{"id":"GHSA-wghf-896v-rpqj","title":"A reflected cross-site scripting vulnerability exists in TCExam \u003c= 14.8.4. The paths provided in...","description":"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.","status":"published","published":"2022-05-24T19:10:08Z","modified":"2023-01-30T05:01:15Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:46:22.009402Z"}],"nvd":[{"id":"CVE-2021-20116","description":"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.","status":"published","published":"2021-08-05T21:15:10.247Z","modified":"2026-06-17T03:33:17.937Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:56.562207Z"}],"osv":[{"id":"CVE-2021-20116","description":"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.","status":"published","published":"2021-08-05T21:15:10.247Z","modified":"2026-10-24T10:30:45.847685852Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:17.663289Z"}]}}
