OctoPrint: Stored XSS via saved connection parameters
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in OctoPrint 2.0.0rc7 and octoprint 2.0.0rc7.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| OctoPrint | >=2.0.0rc1 <2.0.0rc7 | ||
| pypi: OctoPrint | >=2.0.0rc1 <=2.0.0rc6 | 2.0.0rc7 | |
| pypi: octoprint | >=2.0.0rc1 <2.0.0rc7 | 2.0.0rc7 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket