Home / OctoPrint / OctoPrint / CVE-2024-49377
CVE-2024-49377: is it exploited, and which versions of OctoPrint are affected and fixed?
CVE-2024-49377 is a cross-site scripting (XSS) vulnerability in OctoPrint. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: OctoPrint before 1.10.3 (GitHub advisory GHSA-xvxq-g8hw-fx4g). Fixed in 1.10.3 (GitHub advisory GHSA-xvxq-g8hw-fx4g). Severity: Medium (5.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:25 UTC.
What is CVE-2024-49377?
Jinja2 Templates are vulnerable to XSS attacks due to their configuration in 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.
From the CVE record by GitHub_M, last updated November 5, 2024, 19:01 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| OctoPrint | OctoPrint | < 1.10.3 |
As the CVE record by GitHub_M states it, last updated November 5, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | OctoPrint | < 1.10.3 | 1.10.3 | GHSA-xvxq-g8hw-fx4g |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 21, 2025. Summary: OctoPrint Vulnerable to Reflected XSS in Jinja2 Templates.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| octoprint | octoprint | before 1.10.3 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:59 UTC.
How severe is CVE-2024-49377?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L | GitHub_M |
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-49377 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 5, 2024)
- EPSS
- 0.29% probability of exploitation activity in the next 30 days, percentile 23.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
- CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page
Where are the vendor advisories and references?
- https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-xvxq-g8hw-fx4g x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- October 14, 2024
- Published
- November 5, 2024, 18:20 UTC
- CVE record updated
- November 5, 2024, 19:01 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 07:59 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:25 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect OctoPrint?
- Nov 30, 2026CVE-2026-139901 OctoPrint: cross-site scripting (XSS)
- Nov 9, 2026CVE-2026-123364 OctoPrint: cross-site scripting (XSS)
- Oct 26, 2026CVE-2014-125135 OctoPrint: hard-coded cryptographic key
- Oct 26, 2026CVE-2013-10077 OctoPrint: information disclosure
- Aug 21, 2026CVE-2026-54134 OctoPrint: external Control of File Name or Path
- Aug 21, 2026CVE-2026-35163 OctoPrint: cross-site scripting (XSS)
- Jan 27, 2026CVE-2026-23892 OctoPrint: timing side channel
- Nov 7, 2025CVE-2025-64187 OctoPrint: cross-site scripting (XSS)
Questions about CVE-2024-49377
Is CVE-2024-49377 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.29% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of OctoPrint are affected by CVE-2024-49377?
OctoPrint before 1.10.3, per the GitHub advisory GHSA-xvxq-g8hw-fx4g. The tables above give every range the sources list.
Which version fixes CVE-2024-49377?
1.10.3, per the GitHub advisory GHSA-xvxq-g8hw-fx4g. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-49377?
Medium (5.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-49377?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.