LOW · CVSS 4.0 EPSS 0.4% · 24th percentile CWE-79

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

How to check your project

Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
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 vectorAdjacent
Attack complexityLow
Attack requirementsNone
Privileges requiredLow
User interactionPassive
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
## 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

Source records: GHSA-p623-mxf7-qxjm (OSV.dev) · EPSS by FIRST, 2026-11-26.