CVE-2026-123364: OctoPrint: Stored XSS via saved connection parameters
Published 2026-11-10 · Updated 2026-11-10 · Also known as GHSA-p623-mxf7-qxjm
Summary
OctoPrint is vulnerable to stored Cross-Site Scripting (XSS) via specially crafted default connection parameters supplied through the API. Users running affected release candidate versions should update immediately.
Who is affected
Deployments running OctoPrint versions 2.0.0rc1 through 2.0.0rc6 are affected. An attacker with low privileges, adjacent network access, and user interaction can execute malicious JavaScript fragments via the default port or baudrate settings on the Serial Connector plugin.
Exploitability
The vulnerability has an adjacent network attack vector with low attack complexity and requires user interaction, resulting in low confidentiality, integrity, and availability impacts. The EPSS score is 0.002 (percentile 0.161) and it is not listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade OctoPrint to version 2.0.0rc7 or later.
- Check config.yaml for JavaScript fragments in printerConnection.preferred.parameters.port or printerConnection.preferred.parameters.baudrate and remove them if found.
How to check your project
- Check if the PyPI octoprint package version is between 2.0.0rc1 and 2.0.0rc6.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| PyPI | octoprint |
>= 2.0.0rc1, < 2.0.0rc7 | 2.0.0rc7 | python -m pip install 'octoprint>=2.0.0rc7' |
CVSS 4.0 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
| Attack vector | Adjacent |
|---|---|
| Attack complexity | Low |
| Attack requirements | None |
| Privileges required | Low |
| User interaction | Passive |
| Confidentiality (vulnerable system) | Low |
| Integrity (vulnerable system) | Low |
| Availability (vulnerable system) | Low |
| Confidentiality (subsequent systems) | Low |
| Integrity (subsequent systems) | Low |
| Availability (subsequent systems) | None |
Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.
FAQ
What causes the vulnerability?
The vulnerability is caused by insecure handling of default port or baudrate settings supplied via the API during a connect request in the bundled Serial Connector plugin.
What versions are affected?
OctoPrint versions 2.0.0rc1 up until version 2.0.0rc6 are affected.
How can I check for indicators of compromise or stored payloads?
Check your configuration file (`config.yaml`) for JavaScript fragments in `printerConnection.preferred.parameters.port` or `printerConnection.preferred.parameters.baudrate`, and review `auth.log` to see which users had access since upgrading to version 2.0.0rc1 or above.
Original advisory description
References
- WEB https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-p623-mxf7-qxjm
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-123364
- WEB https://github.com/OctoPrint/OctoPrint/commit/059495787a1086868a28ba9eca8d089729242646
- PACKAGE https://github.com/OctoPrint/OctoPrint
- WEB https://github.com/OctoPrint/OctoPrint/releases/tag/2.0.0rc7
Source records: GHSA-p623-mxf7-qxjm (OSV.dev) · EPSS by FIRST, 2026-11-26.