Arbitrary file upload in TCExam - #VU170543
Published: November 25, 2026
Vulnerability details
The vulnerability allows a remote user to disclose the full TCExam database, including bcrypt password hashes, or overwrite live database contents through an administrator's session.
The vulnerability exists due to unrestricted upload of dangerous file content in the TCExam file manager when it checks only the file extension and serves uploaded SVGs unchanged from a public cache. A remote user can use an operator account to upload a scripted SVG that, when opened by a signed-in administrator, runs in the TCExam origin and invokes backup, download, or restore actions that lack CSRF token validation.