Lektor does not sanitize database path traversal
Critical severity
GitHub Reviewed
Published
Mar 27, 2024
to the GitHub Advisory Database
•
Updated Aug 6, 2024
Package
Affected versions
>= 0, < 3.3.11
>= 3.4.0b1, < 3.4.0b11
Patched versions
3.3.11
3.4.0b11
Description
Published by the National Vulnerability Database
Mar 27, 2024
Published to the GitHub Advisory Database
Mar 27, 2024
Reviewed
Mar 27, 2024
Last updated
Aug 6, 2024
Lektor before 3.3.11 does not sanitize DB path traversal. Thus, shell commands might be executed via a file that is added to the templates directory, if the victim's web browser accesses an untrusted website that uses JavaScript to send requests to localhost port 5000, and the web browser is running on the same machine as the "lektor server" command.
References