← Vulnerability feed

Vulnerability record · CVE-2024-49377 · published 5 November 2024

CVE-2024-49377: Octoprint cross-site scripting vulnerability

Octoprint · Octoprint

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.

6.1 CVSS 3.1 Medium EPSS 0.27% · top 82.2% CWE-79 · Cross-site scriptingCWE-80 · CWE-80
6.1CVSS 3.1 base score
0.27%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
1References
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-49377 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.4CVE-2024-32977Octoprint authentication bypass by spoofing vulnerabilityOctoPrint provides a web interface for controlling consumer 3D printers. OctoPrint versions up until and including 1.10.0 contain a vulnerability tha…EPSS 0.90%9.1CVE-2018-16710Octoprint information exposure vulnerabilityOctoPrint through 1.3.9 allows remote attackers to obtain sensitive information or cause a denial of service via HTTP requests on port 8081. NOTE: th…EPSS 2.1%8.8CVE-2022-3068Octoprint improper privilege management vulnerabilityImproper Privilege Management in GitHub repository octoprint/octoprint prior to 1.8.3.EPSS 0.51%7.8CVE-2022-2930Octoprint vulnerabilityUnverified Password Change in GitHub repository octoprint/octoprint prior to 1.8.3.EPSS 0.35%7.5CVE-2025-58180Octoprint os command injection vulnerabilityOctoPrint provides a web interface for controlling consumer 3D printers. OctoPrint versions up until and including 1.11.2 contain a vulnerability tha…EPSS 21%7.5CVE-2022-2822Octoprint improper restriction of authentication attempts vulnerabilityAn attacker can freely brute force username and password and can takeover any account. An attacker could easily guess user passwords and gain access …EPSS 0.85%7.5CVE-2022-1430Octoprint cross-site scripting vulnerabilityCross-site Scripting (XSS) - DOM in GitHub repository octoprint/octoprint prior to 1.8.0.EPSS 1.3%6.5CVE-2025-48879Octoprint vulnerabilityOctoPrint versions up until and including 1.11.1 contain a vulnerability that allows any unauthenticated attacker to send a manipulated broken multip…EPSS 0.26%

Source: NIST National Vulnerability Database (record CVE-2024-49377), CISA KEV, FIRST EPSS (scores of 2026-10-03). This page is refreshed as NVD updates the record.