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.
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
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | octoprint | >= 2.0.0rc1, < 2.0.0rc7 | 2.0.0rc7 |
Verweise
- 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
- https://github.com/OctoPrint/OctoPrint/releases/tag/2.0.0rc7
- CVSS-Vektor
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- Schwäche (CWE)
CWE-79- Plattform
- Python (PyPI)
- Paket
octoprint- Veröffentlicht
- 10.11.2026
- Aktualisiert
- 10.11.2026 18:17
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-p623-mxf7-qxjm - CC BY 4.0
Schwachstellenhistorie: octoprint
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 25
- Erste → letzte
- 05.2021 11.2026
- Ohne Fix
- 1
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 1
- Hoch 8
- Mittel 13
- Niedrig 3
Veröffentlichungen pro Jahr
- 2021: 2
- 2022: 8
- 2023: 1
- 2024: 5
- 2025: 5
- 2026: 4
-
OctoPrint: Stored XSS via saved connection parameters dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.