Low

OctoPrint: Stored XSS via saved connection parameters

  • Disclosed: 10.11.2026
  • Updated: 10.11.2026 18:17

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

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) octoprint >= 2.0.0rc1, < 2.0.0rc7 2.0.0rc7

References

CVSS score -
CVSS 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
Weakness (CWE)
CWE-79
Platform
Python (PyPI)
Package
octoprint
Disclosed
10.11.2026
Updated
10.11.2026 18:17

Sources and licenses

OSV / GitHub Advisory Database - GHSA-p623-mxf7-qxjm - CC BY 4.0

Vulnerability history: octoprint

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (25) in the archive
Total entries
25
First → latest
05.2021 11.2026
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 8
  • Medium 13
  • Low 3

Disclosures per year

  1. 2021: 2
  2. 2022: 8
  3. 2023: 1
  4. 2024: 5
  5. 2025: 5
  6. 2026: 4
Severity:
  1. OctoPrint: Stored XSS via saved connection parameters this entry
    Low CVE-2026-123364 >= 2.0.0rc1, < 2.0.0rc7 2.0.0rc7
  2. High CVE-2026-54134 < 1.11.8, >= 2.0.0rc1, < 2.0.0rc3 1.11.8, 2.0.0rc3
  3. High · 7.5 CVE-2022-1432 < 1.8.0 1.8.0
  4. High · 7.5 CVE-2022-1430 < 1.8.0 1.8.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.