Stored XSS in OctoPrint via saved connection parameters
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OctoPrint | OctoPrint | 2.0.0rc1 to before 2.0.0rc7 | 2.0.0rc7 | Patch available | CNA |
| — | OctoPrint (PyPI) | 2.0.0rc1 to before 2.0.0rc7 | 2.0.0rc7 | Patch available | GHSA-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
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
- 2026-11-09 Threatist record created from CVE-2026-123364
- 2026-11-10 Alias added: GHSA-p623-mxf7-qxjm
- 2026-11-10 Fix available: PyPI/[email protected] · GHSA-p623-mxf7-qxjm
- 2026-11-10 CVSS score added · GHSA-p623-mxf7-qxjm
- 2026-11-10 Weakness changed · GHSA-p623-mxf7-qxjm
- 2026-11-10 5 new references · GHSA-p623-mxf7-qxjm
- 2026-11-14 CISA SSVC decision points changed
References
More OctoPrint vulnerabilities
- 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
Sources
- CVE-2026-123364 · CVE Program
- CVE-2026-123364 · NVD
- FIRST EPSS
- GHSA-p623-mxf7-qxjm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences