All vulnerabilities

PyPI

CVE-2026-123364

OctoPrint: Stored XSS via saved connection parameters

Severity
Low
Published
10 Nov 2026
Last changed
10 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
2.0.0rc7
Exploit chance
0.2% in the next 30 daysHigher than 15% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Also known as
GHSA-p623-mxf7-qxjm
Sources
OSV.dev and GitHub

Description

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.

From the GitHub Advisory Database, CC BY 4.0.

Workarounds

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.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
octoprintPyPI · osv:PyPI:octoprint
  • From 2.0.0rc1 before 2.0.0rc7

About octoprint

Weekly downloads (PyPI)
5,069PyPI Stats, 24 Nov 2026

This is the only vulnerability in octoprint in our list.

References