{"id":"CVE-2021-20112","aliases":["CVE-2021-20112"],"related":[],"kind":"vulnerability","state":"published","title":"A stored cross-site scripting vulnerability exists in TCExam <= 14.8.1.","summary":"A stored cross-site scripting vulnerability exists in TCExam <= 14.8.1. Valid files uploaded via tce_select_mediafile.php with a filename beggining with a period will be rendered as text/html. An attacker with access to tce_select_mediafile.php could upload a malicious javascript payload which would be triggered when another user views the file.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A stored cross-site scripting vulnerability exists in TCExam <= 14.8.1. Valid files uploaded via tce_select_mediafile.php with a filename beggining with a period will be rendered as text/html. An attacker with access to tce_select_mediafile.php could upload a malicious javascript payload which would be triggered when another user views the file.","source":"cvelist"},{"lang":"es","text":"Se presenta una vulnerabilidad de tipo cross-site scripting almacenada en TCExam versiones anteriores a 14.8.1 incluyéndola. Unos archivos válidos cargados por medio del archivo tce_select_mediafile.php con un nombre de archivo que comience por un punto será renderizado como text/html. Un atacante con acceso a tce_select_mediafile.php podría cargar una carga útil javascript malicioso que se desencadenaría cuando otro usuario visualice el archivo","source":"nvd"}],"published":"2021-07-29T18:00:21.000Z","modified":"2026-06-17T03:33:17.543Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"14.8.1","status":"affected"}],"product":"TCExam","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"14.8.1"}],"vendor":"tecnick","product":"tcexam","cpe":"cpe:2.3:a:tecnick:tcexam:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.tenable.com/security/research/tra-2021-32","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"tenable","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-20112","url":"https://www.cve.org/CVERecord?id=CVE-2021-20112","licence":"CVE Terms of Use","modified":"2024-08-03T17:30:07.345Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-20112","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20112","licence":"Public domain","modified":"2026-06-17T03:33:17.543Z"}],"updatedAt":"2026-11-25T22:58:02.884Z","epss":{"score":0.00634,"percentile":0.5169,"date":"2026-12-01T12:00:22.000Z"}}