Skip to main content

OctoPrint EUVDEUVD-2026-120120

| CVE-2026-123364 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-11-09 GitHub_M GHSA-p623-mxf7-qxjm
2.4
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged user
  2. Delivery
    Inject JS via connect request port/baudrate
  3. Exploit
    Payload persisted in connection parameters
  4. Execution
    Victim opens connection settings dialog
  5. Impact
    Script executes in victim's session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a valid authenticated account on an OctoPrint instance running an affected pre-release build (2.0.0rc1 through 2.0.0rc6) with the bundled Serial Connector plugin, per CVSS PR:L. The attacker must submit a crafted default port or baudrate through a connect request, which OctoPrint persists in printerConnection.preferred.parameters.port/baudrate. Exploitation only fires when a DIFFERENT user subsequently opens the saved printer connection settings dialog (CVSS UI:P), so it cannot self-trigger. Limiting factors: authentication required, victim user interaction required, only pre-release RC versions affected (stable and rc7+ are not), and the vendor rates the vector as adjacent (AV:A), implying local-network reachability rather than open internet exposure.

Impact

This is a genuinely low-priority issue, and the signals agree. The vendor CVSS 4.0 base score is 2.4 (Low) with vector AV:A/AC:L/AT:N/PR:L/UI:P, and the vuln.today decision label is 'monitor' - all consistent with a stored XSS that requires an authenticated account and a second user's interaction to trigger. No EPSS score, no CISA KEV entry, and no exploit code are present in the input (the only GitHub commit supplied is the vendor fix, not an exploit), so there is no evidence of exploitation pressure. The impact is bounded: C/I/A are all Low and limited to a single victim's browser session and their OctoPrint access, not full system compromise. One data point to verify: the NVD-style description says 'From 2.0.0rc1 until 2.0.0rc7,' while the authoritative GHSA advisory states versions rc1 through rc6 are vulnerable and rc7 is the fix - treat rc6 as the last vulnerable build. Net assessment: a real but minor hygiene bug affecting only pre-release RC builds, not an urgent priority.

Exploit ScenarioDerived

A low-privileged authenticated OctoPrint user (running an affected 2.0.0 release candidate) sends a connect request to the bundled Serial Connector plugin with a crafted default port or baudrate value containing a JavaScript payload. OctoPrint saves it to printerConnection.preferred.parameters and renders it as raw HTML; when another user - such as an administrator - opens the printer connection settings dialog, the script executes in their browser and can act with their privileges. No public exploit code was identified; only the vendor's patch commit is public.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

Stored cross-site scripting in OctoPrint 2.0.0rc1 through 2.0.0rc6 lets an authenticated user persist a malicious default port or baudrate value through a Serial Connector connect request, which OctoPrint saves to printerConnection.preferred.parameters and later renders as HTML in the printer connection settings dialog. The payload fires only when a different user opens that saved connection settings view, executing script in their browser session with their OctoPrint privileges, so an attacker cannot self-trigger it and must already hold a valid account. Only the 2.0.0rc1-rc6 pre-release line is affected, the vendor shipped a fix in 2.0.0rc7, and no public exploit has been identified at time of analysis; the vulnerability is rated low severity and tracked for monitoring rather than urgent action.

RemediationAI

Upgrade to OctoPrint 2.0.0rc7, the vendor-released patch version, available from https://github.com/OctoPrint/OctoPrint/releases/tag/2.0.0rc7; the fix is commit 059495787a1086868a28ba9eca8d089729242646, which changes the two Knockout bindings in printerconnection.jinja2 from html to text so persisted port and baudrate values are escaped rather than rendered as markup. For instances that cannot be upgraded immediately, the vendor's documented workaround is to open config.yaml and inspect printerConnection.preferred.parameters.port and printerConnection.preferred.parameters.baudrate for JavaScript fragments and remove any that are found, then use auth.log to determine which users had access to the instance since 2.0.0rc1 or later was flashed, since a malicious value only executes when another user opens the saved connection parameters dialog. Note that this manual cleanup removes the stored payload but does not fix the underlying rendering flaw, so the upgrade remains the complete fix per the advisory; details are in https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-p623-mxf7-qxjm.

Affected VersionsENISA

OctoPrint 2.0.0rc1, < 2.0.0rc7

Affected Packages

pypi octoprint fix: 2.0.0rc7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OctoPrint is a Python web application (distributed on PyPI as pip/OctoPrint) whose printer connection settings dialog is rendered with Jinja2 templates bound to Knockout.js observables. The root cause is CWE-79: the template at src/octoprint/templates/dialogs/settings/printerconnection.jinja2 bound the saved preferred port and baudrate values with data-bind="html: ...", which injects the string as markup rather than text. Because those values originate from client-supplied input on the Serial Connector plugin's connect API request and are persisted into config.yaml under printerConnection.preferred.parameters.port and .baudrate, an authenticated user can store a script fragment that executes in the DOM of any other user who later opens the saved connection parameters. The upstream fix in commit 059495787a1086868a28ba9eca8d089729242646 switches those two bindings from html to text, so the persisted values are escaped and rendered as inert text. The CPE entry cpe:2.3:a:octoprint:octoprint:*:*:*:*:*:*:*:* is an unbounded wildcard, so the actual exposure window is defined by the advisory's version range rather than by the CPE string. Note that the CNA-assigned CVSS v4.0 score of 2.4 uses AV:A and reflects adjacent-network reachability with PR:L and UI:P, whereas the independent assessment scores the same defect as AV:N/AC:L/PR:L/UI:R/S:C with low confidentiality and integrity impact; both agree the flaw requires authentication and victim interaction and is low severity.

Know when Octoprint gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 2.4 LOW
CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:N
vuln.today AI 5.4 MEDIUM

Authenticated low-privileged attacker injects the payload (PR:L) but a different user must view the dialog to trigger it (UI:R); script runs in the victim's browser context so S:C, with low C/I and no availability impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Adjacent
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 09, 2026 - 18:02 EUVD

DescriptionCVE.org

OctoPrint provides a web interface for controlling consumer 3D printers. From 2.0.0rc1 until 2.0.0rc7, an authenticated user can supply a crafted default port or baudrate through a connect request to the bundled Serial Connector plugin. OctoPrint persists these values in printerConnection.preferred.parameters.port or printerConnection.preferred.parameters.baudrate and renders them as HTML when another user views the saved connection parameters, allowing script execution in that user's browser and actions within the user's OctoPrint access. This issue is fixed in version 2.0.0rc7.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Low
niche 3D-printer hobbyist software; only pre-release RC builds affected
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact· derived
Low

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2024-32977 CRITICAL POC
9.4 May 14

OctoPrint provides a web interface for controlling consumer 3D printers. Rated critical severity (CVSS 9.4), this vulner

CVE-2018-16710 CRITICAL POC
9.1 Sep 07

OctoPrint through 1.3.9 allows remote attackers to obtain sensitive information or cause a denial of service via HTTP re

CVE-2022-3068 HIGH POC
8.8 Sep 21

Improper Privilege Management in GitHub repository octoprint/octoprint prior to 1.8.3. Rated high severity (CVSS 8.8), t

CVE-2022-2930 HIGH POC
7.8 Aug 22

Unverified Password Change in GitHub repository octoprint/octoprint prior to 1.8.3. Rated high severity (CVSS 7.8), this

CVE-2025-58180 HIGH POC
7.5 Sep 09

OctoPrint provides a web interface for controlling consumer 3D printers. Rated high severity (CVSS 7.5), this vulnerabil

CVE-2022-2822 HIGH POC
7.5 Aug 15

An attacker can freely brute force username and password and can takeover any account. Rated high severity (CVSS 7.5), t

CVE-2022-1430 HIGH POC
7.5 May 18

Cross-site Scripting (XSS) - DOM in GitHub repository octoprint/octoprint prior to 1.8.0. Rated high severity (CVSS 7.5)

CVE-2021-32560 MEDIUM POC
6.5 May 11

The Logging subsystem in OctoPrint before 1.6.0 has incorrect access control because it attempts to manage files that ar

CVE-2022-1432 MEDIUM POC
6.4 May 18

Cross-site Scripting (XSS) - Generic in GitHub repository octoprint/octoprint prior to 1.8.0. Rated medium severity (CVS

CVE-2021-32561 MEDIUM POC
6.1 May 11

OctoPrint before 1.6.0 allows XSS because API error messages include the values of input parameters. Rated medium severi

CVE-2022-3607 MEDIUM POC
6.0 Oct 19

Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) in GitHub repository octoprint/o

CVE-2022-2872 MEDIUM POC
5.4 Sep 21

Unrestricted Upload of File with Dangerous Type in GitHub repository octoprint/octoprint prior to 1.8.3. Rated medium se

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy