A user able to import a malicious document into a Grist installation could run commands on the machine hosting the server.
Addressed in 1.7.19. The known vulnerability is a many-step process, and several of the steps have been rendered ineffective. The core issue that allows these steps to connect, and indeed converts them into vulnerabilities, is prototype pollution. Grist has been hardened against pollution, and work will continue to harden it further. Steps taken include, but are not limited to:
__proto__ accessor removed and the base object prototype made non-extensible, both via a node flag and an in-process fallback.Only import documents from sources you trust. Only allow those you trust to import documents. To reduce exposure on a self-hosted instance, consider using the default permission set recommended in Quick Setup and the Admin Panel, so that only people who pass your authentication will be able to import documents.