Skip to content

OctoPrint

Jinja2 Templates are vulnerable to XSS attacks due to their configuration in OctoPrint

CVE-2024-49377Published 5 Nov 2024, 18:20 UTC

Real-world risk

0.7/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

5.5

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

OctoPrint provides a web interface for controlling consumer 3D printers. OctoPrint versions up until and including 1.10.2 contain reflected XSS vulnerabilities in the login dialog and the standalone application key confirmation dialog. An attacker who successfully talked a victim into clicking on a specially crafted login link, or a malicious app running on a victim's computer triggering the application key workflow with specially crafted parameters and then redirecting the victim to the related standalone confirmation dialog could use this to retrieve or modify sensitive configuration settings, interrupt prints or otherwise interact with the OctoPrint instance in a malicious way. The above mentioned specific vulnerabilities of the login dialog and the standalone application key confirmation dialog have been patched in the bugfix release 1.10.3 by individual escaping of the detected locations. A global change throughout all of OctoPrint's templating system with the upcoming 1.11.0 release will handle this further, switching to globally enforced automatic escaping and thus reducing the attack surface in general. The latter will also improve the security of third party plugins. During a transition period, third party plugins will be able to opt into the automatic escaping. With OctoPrint 1.13.0, automatic escaping will be switched over to be enforced even for third party plugins, unless they explicitly opt-out.

Am I affected?

ProductAffected versions (from the sources)Fixed in
OctoPrintNiche< 1.10.31.10.3

What to do

Update to a fixed version: 1.10.3.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionAdjacentSame Wi-Fi, Bluetooth range or network segmentFrom the CVSS vector0.40
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.3% chance of exploitation in 30 days (percentile 23), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.280
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.3 × prerequisites 0.28 × threat 0.850.714
  4. Rounded to one decimal between 0.1 and 100.7

How the score works

Exploitation and evidence timeline

  1. 5 Nov 2024 Published
  2. 3 Dec 2026 Risk 0.7 (cvss fallback)

Weakness

CWE-79, CWE-80

References

Get alerts for OctoPrint

Free email or text alerts when a vulnerability in OctoPrint reaches risk 8 or higher. Nothing else.