GHSA-p623-mxf7-qxjm: OctoPrint: Stored XSS via saved connection parameters

Published Nov 9, 2026
·
Updated

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.

Affected Software

1 affected component
OctoPrint OctoPrint>=2.0.0rc1<2.0.0rc7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OctoPrint to a version that resolves this vulnerability.

    Fixed in 2.0.0rc7

Event History

Nov 9, 2026
CVE Published
via OSV·05:10 PM
Data Sourced
via OSV·05:10 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

OctoPrint instances running versions from 2.0.0rc1 through 2.0.0rc7 are affected. Exploitation requires an authenticated user who can submit a connect request to the bundled Serial Connector plugin, and a second user who views the saved connection parameters.

2

What access does an attacker need?

The attacker needs authenticated access to OctoPrint and must be able to supply a crafted default port or baudrate value in a connect request. User interaction is also required because another user must view the persisted connection parameters.

3

What is the impact if exploitation succeeds?

The crafted value can execute script in the viewing user's browser. The script can perform actions using that user's OctoPrint access.

4

How can I determine whether my instance may be affected?

Check whether the instance is running a release in the stated affected range and inspect saved printer connection settings for unexpected values in printerConnection.preferred.parameters.port or printerConnection.preferred.parameters.baudrate. These are the persisted fields used by the issue.

5

What is the remediation?

Upgrade to the fixed 2.0.0rc7 release. If upgrading is not immediately possible, limit authenticated access to trusted users and avoid viewing saved connection parameters that may have been supplied by untrusted users.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203