Read the docs

Stored XSS in OctoPrint via saved connection parameters

Priority LOW 12CWE-79Published · Updated

Key facts

Attack vector
Adjacent network
Privileges required
Low
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

OctoPrint from 2.0.0rc1 before 2.0.0rc7 contains a stored cross-site scripting flaw (CWE-79) in saved connection parameters. An authenticated user can supply a crafted default port or baudrate through a connect request to the bundled Serial Connector plugin. The stored value is rendered as HTML when another user views the saved connection parameters, so script runs in that user's browser with their OctoPrint access.

Written with Claude Haiku 5.5 from the sources below · 2026-11-10

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00247 16th percentileScored 2026-11-16
Fix Fixed OctoPrint (OctoPrint): 2.0.0rc7OctoPrint (PyPI): 2.0.0rc7

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
OctoPrintOctoPrint2.0.0rc1 to before 2.0.0rc72.0.0rc7Patch availableCNA
—OctoPrint (PyPI)2.0.0rc1 to before 2.0.0rc72.0.0rc7Patch availableGHSA-p623-mxf7-qxjm
  • OctoPrint VendorOctoPrint Affected 2.0.0rc1 to before 2.0.0rc7 Fixed in 2.0.0rc7 Patch available CNA
  • OctoPrint (PyPI) Vendor— Affected 2.0.0rc1 to before 2.0.0rc7 Fixed in 2.0.0rc7 Patch available GHSA-p623-mxf7-qxjm

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:octoprint:octoprint:*:*:*:*:*:*:*:*——OctoPrint
  • cpe:2.3:a:octoprint:octoprint:*:*:*:*:*:*:*:* Versions — — ·OctoPrint

Remediation

Upgrade OctoPrint to version 2.0.0rc7, which fixes this issue in both the OctoPrint and PyPI package entries.

Written with Claude Haiku 5.5 from the sources below · 2026-11-10

  • Fix · CNA OctoPrint (OctoPrint) Fixed in 2.0.0rc7
  • Fix · GHSA-p623-mxf7-qxjm OctoPrint (PyPI) Fixed in 2.0.0rc7 Advisory →

Timeline

  1. 2026-11-09 Threatist record created from CVE-2026-123364
  2. 2026-11-10 Alias added: GHSA-p623-mxf7-qxjm
  3. 2026-11-10 Fix available: PyPI/[email protected] · GHSA-p623-mxf7-qxjm
  4. 2026-11-10 CVSS score added · GHSA-p623-mxf7-qxjm
  5. 2026-11-10 Weakness changed · GHSA-p623-mxf7-qxjm
  6. 2026-11-10 5 new references · GHSA-p623-mxf7-qxjm
  7. 2026-11-14 CISA SSVC decision points changed

References

  • TI-2022-02830 Improper Privilege Management in octoprint/octoprint CVSS 3.1HIGH 8.8
  • TI-2022-03320 Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) in octoprint/octoprint CVSS 3.1MEDIUM 6.0
  • TI-2022-02664 Unrestricted Upload of File with Dangerous Type in octoprint/octoprint CVSS 3.1MEDIUM 5.4
  • TI-2025-35988 OctoPrint is Vulnerable to RCE Attacks via Unsanitized Filename in File Upload CVSS 4.0HIGH 7.5
  • TI-2024-18796 OctoPrint XSS via the "Snapshot Test" feature in Classic Webcam plugin settings CVSS 3.1MEDIUM 4.8
  • TI-2022-02678 Insufficient Session Expiration in octoprint/octoprint CVSS 3.1MEDIUM 4.4
See all 25 →

Sources