CVE-2026-123364: OctoPrint: Stored XSS via saved connection parameters
Impact OctoPrint versions 2.0.0rc1 up until version 2.0.0rc6 are susceptible to cross-site scripting via a specially crafted default port or baudrate setting on the bundled Serial Connector plugin, supplied via the API as new defaults during a connect request. Patches The vulnerability is patched in 2.0.0rc7.
Published Nov 10, 2026
Affected packages
OctoPrint
- Ecosystem
- PyPI
- Affected
- >= 2.0.0rc1, <= 2.0.0rc6
- Fixed in
- 2.0.0rc7
- Check
pip show OctoPrint
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
OctoPrint versions 2.0.0rc1 up until version 2.0.0rc6 are susceptible to cross-site scripting via a specially crafted default port or baudrate setting on the bundled Serial Connector plugin, supplied via the API as new defaults during a connect request.
Patches
The vulnerability is patched in 2.0.0rc7.
Workaround
Check config.yaml for Javascript fragments in printerConnection.preferred.parameters.port or printerConnection.preferred.parameters.baudrate. If found, remove them. You can check who of your users had access to your instance since you flashed 2.0.0rc1 or above via auth.log.
Credits
This vulnerability was discovered and responsibly disclosed to OctoPrint by "mahn-don".
Timeline
2026-10-14: Report received 2026-10-14: Report acknowledged 2026-10-14: Report verified 2026-10-14: Fix ready for 2.0.0rc7 2026-10-20: CVE requested
References
- https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-p623-mxf7-qxjm
- https://nvd.nist.gov/vuln/detail/CVE-2026-123364
- https://github.com/OctoPrint/OctoPrint/commit/059495787a1086868a28ba9eca8d089729242646
- https://github.com/OctoPrint/OctoPrint/releases/tag/2.0.0rc7
- https://github.com/advisories/GHSA-p623-mxf7-qxjm
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-35163
OctoPrint has XSS in its Suppressed Command Notifications
medium4.6Jun 23, 2026CVE-2026-54134
OctoPrint has possible file exfiltration via query parameters on upload endpoints
high7.0Jun 23, 2026CVE-2026-23892
OctoPrint has Timing Side-Channel Vulnerability in API Key Authentication
medium5.9Jan 27, 2026CVE-2025-48067
OctoPrint vulnerable to possible file extraction via upload endpoints
medium5.4Jun 10, 2025CVE-2025-48879
OctoPrint Vulnerable to Denial of Service through malformed HTTP request in OctoPrint
medium6.5Jun 10, 2025CVE-2024-49377
OctoPrint Vulnerable to Reflected XSS in Jinja2 Templates
medium5.5Nov 5, 2024
