Cross-site scripting in TCExam
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | TCExam | up to 14.8.4 | — | No fix listed | CNA |
- TCExam Vendor— Affected up to 14.8.4 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2021-20116
- 2026-10-03 Alias added: GHSA-wghf-896v-rpqj
References
More Tecnick Tcexam vulnerabilities
- TI-2021-03414 When installed following the default/recommended settings, TCExam <= 14.8.1 allowed… CVSS 3.1HIGH 7.5
- TI-2010-02065 Unrestricted file upload vulnerability in admin/code/tce_functions_tcecode_editor.php in… CVSS 2.0MEDIUM 6.8
- TI-2012-03619 Multiple SQL injection vulnerabilities in TCExam before 11.3.008 allow remote… CVSS 2.0MEDIUM 6.8
- TI-2020-04673 Cross-site request forgery in TCExam CVSS 3.1HIGH 7.4
- TI-2023-06005 Missing authorisation in TCExam CVSS 3.1MEDIUM 6.5
- TI-2020-04678 Cross-site scripting in TCExam CVSS 3.1MEDIUM 6.1
Sources
- CVE-2021-20116 · CVE Program
- CVE-2021-20116 · NVD
- FIRST EPSS
- GHSA-wghf-896v-rpqj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences