Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged user
-
DeliveryInject JS via connect request port/baudrate
-
ExploitPayload persisted in connection parameters
-
ExecutionVictim opens connection settings dialog
-
ImpactScript 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
OctoPrint provides a web interface for controlling consumer 3D printers. Rated critical severity (CVSS 9.4), this vulner
OctoPrint through 1.3.9 allows remote attackers to obtain sensitive information or cause a denial of service via HTTP re
Improper Privilege Management in GitHub repository octoprint/octoprint prior to 1.8.3. Rated high severity (CVSS 8.8), t
Unverified Password Change in GitHub repository octoprint/octoprint prior to 1.8.3. Rated high severity (CVSS 7.8), this
OctoPrint provides a web interface for controlling consumer 3D printers. Rated high severity (CVSS 7.5), this vulnerabil
An attacker can freely brute force username and password and can takeover any account. Rated high severity (CVSS 7.5), t
Cross-site Scripting (XSS) - DOM in GitHub repository octoprint/octoprint prior to 1.8.0. Rated high severity (CVSS 7.5)
The Logging subsystem in OctoPrint before 1.6.0 has incorrect access control because it attempts to manage files that ar
Cross-site Scripting (XSS) - Generic in GitHub repository octoprint/octoprint prior to 1.8.0. Rated medium severity (CVS
OctoPrint before 1.6.0 allows XSS because API error messages include the values of input parameters. Rated medium severi
Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) in GitHub repository octoprint/o
Unrestricted Upload of File with Dangerous Type in GitHub repository octoprint/octoprint prior to 1.8.3. Rated medium se
EUVD-2026-120120
GHSA-p623-mxf7-qxjm
NVD
CVE.org
EPSS
Exploit-DB