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.
Published: 2026-11-09
Score: 2.4 Low
EPSS: n/a
KEV: No
Impact: Client‑side script execution via stored XSS
Action: Apply Patch
AI Analysis

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.

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

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

No advisories yet.

History

Mon, 09 Nov 2026 19:00:00 +0000

Type Values Removed Values Added
First Time appeared Octoprint
Octoprint octoprint
Vendors & Products Octoprint
Octoprint octoprint

Mon, 09 Nov 2026 17:15:00 +0000

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'}


Subscriptions

Octoprint Octoprint
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-09T17:10:35.399Z

Reserved: 2026-11-05T20:43:10.420Z

Link: CVE-2026-123364

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-09T17:17:27.333

Modified: 2026-11-09T17:17:27.487

Link: CVE-2026-123364

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T19:00:19Z

Weaknesses
  • CWE-79

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