CVE-2026-123364

OctoPrint: Stored XSS via saved connection parameters

Published Nov 9, 2026 CVSS 4.0 · 2.4 Low EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

OctoPrint’s web interface allows an authenticated user to submit connection parameters such as the default port or baudrate to its bundled Serial Connector plugin. These values are persisted without sanitization and later rendered as HTML in another user’s browser when the saved settings are viewed, leading to a stored cross‑site scripting flaw. The injected script runs in the context of any user who views the parameters, enabling the attacker to execute client‑side code, which could hijack the user’s session or perform unauthorized actions within that user’s OctoPrint access.

Affected Systems

The vulnerability affects the OctoPrint web interface on versions 2.0.0rc1 through 2.0.0rc6 that include the bundled Serial Connector plugin. It is mitigated by upgrading to 2.0.0rc7 or later, where the issue has been fixed.

Risk and Exploitability

The CVSS score of 2.4 indicates a low overall severity. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires authentic access to an OctoPrint instance and the ability to submit a connect request, making it primarily an internal threat. Although the flaw is client‑side and does not grant server‑side code execution, a malicious script can perform actions with the privileges of the victim user, such as initiating prints or altering settings.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OctoPrint to version 2.0.0rc7 or later
  • Restrict access to OctoPrint administrators to minimize authenticated user risk
  • Configure a web application firewall to detect and block XSS payloads in connection parameter requests

Generated by OpenCVE AI on November 9, 2026 at 18:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-p623-mxf7-qxjm OctoPrint: Stored XSS via saved connection parameters
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Octoprint
Octoprint octoprint
Vendors & Products Octoprint
Octoprint octoprint
Type Values Removed Values Added
Description 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.
Title OctoPrint: Stored XSS via saved connection parameters
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 2.4, 'vector': '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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 14, 2026, 1:43 AM
Reserved
Nov 5, 2026, 8:43 PM
Status
Deferred
Published
Nov 9, 2026, 5:17 PM
Modified
Nov 14, 2026, 2:16 AM