Report a security problem in private, with a new security advisory. Do not use a Discussion, an issue, or a pull request for it. Give the version of Flight Manual and of ztcl, the smallest site that shows the problem, and what it lets a person do.
The project answers in the advisory. It gives no dates.
Flight Manual is a program of ztcl, and it runs with the capabilities of its ztcl.project: file and channels, for the folder of the site and the folder of the output. It starts no program, opens no socket, and reads no environment.
A plugin of a site is a Tcl file of that site. It runs in a child interpreter of ztcl with only the capabilities that the key allow of the site file names. A site file that gives exec to a plugin gives that plugin the full power of the user: exec is no sandbox. Read the site file of a site before you build it, as you read its build scripts.
flight-manual serve listens only on 127.0.0.1.
- A site file, a page, a template, or a style that makes Flight Manual read or write a file outside the folder of the site and the folder of the output.
- A plugin that gets a capability that the site file does not name.
- Markdown or a template that puts a script into a built page that the author of the site did not write.
- A crash or a hang of Flight Manual on hostile Markdown. The limits of ztcl must stop it.