17.5.0 (2026-11-02) - Security fixes for exam pages, LaTeX, OTP and the installer. Please read the "Exam pages, LaTeX, OTP and installer" section of UPGRADE.md before updating an existing installation. - The exam page displays and stores answers only for test logs of the examinee's active attempt; other examinees' questions and answers can no longer be displayed, and answers of earlier attempts can no longer be changed. - [tex] in free-text answers and test comments is no longer compiled; pdflatex runs with restricted file access and without shell escape, and pdfTeX primitives are rejected. - Names and test names are HTML-escaped on the online users page, the results pages, the module editor and the public test list. - One-Time-Password codes are checked against the key of the user who logs in, codes with a leading zero are accepted, and a used code is blocked only for that user. - Answer text and test comments are escaped on the exam page and in the PDF report. - Editors below the administrator level can only edit their own account and users with a lower level. - The web installer refuses to run on an installed instance and accepts only POST; install/phpinfo.php and admin/code/tce_update.php have been removed; the Docker image denies web access to install/. - CSRF tokens are HMAC-SHA256 values that depend on the full session ID. - Test IP ranges are checked against the address of the current request. - The LDAP user name is escaped in the search filter. - CAS validates the server certificate when K_CAS_SERVER_CA_CERT is set. - SSL client certificate login accepts certificates that have not expired (previously only expired ones) and does not repeat the login for a user who is already logged in. - The session ID changes at login. 17.4.0 (2026-11-02) - Security fixes for access control. Please read the "Access control and the administration area" section of UPGRADE.md before updating an existing installation. - Fixed missing page levels: the results PDF, the test PDF generator and the user results export were reachable without logging in or by public users. Pages that do not set a level now require the administrator level. - Emailed PDF reports are generated in-process; the ?email= token of tce_pdf_results.php has been removed. - Operators see and change only the results of the tests they are authorized for, including the "all tests" view, the user filter and the bulk lock, unlock, extend-time and delete actions. - Fixed cross-operator writes: subjects, questions and answers can no longer be added or moved under a module, subject or question owned by another operator, the subject editor no longer skips the ownership check when the module selector changes, and only authorized subjects can be added to a test. - OMR imports are accepted only for authorized tests and only when every question and answer belongs to the test; the QR-Code data is decoded without instantiating objects. - The session ID is read only from the PHPSESSID cookie. - Added admin/log/.htaccess and public/log/.htaccess, updated admin/backup/.htaccess to the Apache 2.4 syntax and added matching Docker Apache rules. - New configuration constant K_PATH_URL_ADMIN for serving the administration area from a separate host. - Added the "Isolating the administration area" section to SECURITY.md. - Updated tc-lib-pdf. 17.3.1 (2026-10-17) - Security hardening of uploaded files. Please read the "Uploaded files, CSRF and backups" section of UPGRADE.md before updating an existing installation. - Media uploads reject markup and script types, and every upload rejects server script types; file content is checked, file names are sanitized and existing files are never overwritten. - SVG uploads are accepted only as plain, static SVG files (no scripts, event handlers, external references, DTD/entities or editor-specific namespaces). - User, question and SSL certificate imports are read from the PHP temporary upload directory instead of being copied into cache/. - Previews and [object] tags display files with ,