Advisory

PYSEC-2024-49

Also known as: CVE-2024-28335, GHSA-wv28-7fpw-fj49

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2024-03-27 06:15 UTC
Modified
2026-06-10 17:02 UTC

Affected packages and fixes

lektor

PyPI · All systems

Affected

  • introduced 0, fixed 3.3.11 (ecosystem)

Fixed versions

3.3.11

Fix

  • Fixed version 3.3.11
    pip install --upgrade lektor==3.3.11

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences