CVE-2024-28335
Critical
Description
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.
SeverityCritical
CVSS9.1
Exploit probability—
ProductLektor
PublishedMar 27, 2024
First seenMar 27, 2024
Weakness typeCWE-22Path traversal
How to fix
Update
- lektor3.3.11, 3.4.0b11 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| lektorPyPI | v < 3.3.11, 3.4.0b1 ≤ v < 3.4.0b11 | 3.3.11, 3.4.0b11 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.