~ / search / GHSA-wv28-7fpw-fj49

GHSA-wv28-7fpw-fj49

Lektor does not sanitize database path traversal

Source: GitHub Advisory Database (reviewed) Critical CVE-2024-28335

Packages

EcosystemPackageAffectedFixed in
PyPI Lektor < 3.3.11 3.3.11
PyPI Lektor >= 3.4.0b1, < 3.4.0b11 3.4.0b11

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.