# CVE-2021-20116: A reflected cross-site scripting vulnerability exists in TCExam <= 14.8.4.

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.94%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-08-05T20:38:27.000Z
- Modified: 2026-06-17T03:33:17.937Z
- Weaknesses: CWE-79
- Assigned by: tenable

## Description

A reflected cross-site scripting vulnerability exists in TCExam <= 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.

(As written by CVE List.)

## Affected

- TCExam: <= 14.8.4
- tecnick tcexam: up to 14.8.4

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://www.tenable.com/security/research/tra-2021-32> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2021-20116](https://www.cve.org/CVERecord?id=CVE-2021-20116), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-20116](https://nvd.nist.gov/vuln/detail/CVE-2021-20116), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-20116 · Whole record: https://cve.day/CVE-2021-20116.json · Rebuilt by cve.day 2026-11-25T22:58:03.021Z
