Advisory

GHSA-p623-mxf7-qxjm

Also known as: CVE-2026-123364

Summary

OctoPrint: Stored XSS via saved connection parameters

Details

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

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-11-10 15:57 UTC
Modified
2026-11-10 16:15 UTC

Affected packages and fixes

octoprint

PyPI · All systems

Affected

  • introduced 2.0.0rc1, fixed 2.0.0rc7 (ecosystem)

Fixed versions

2.0.0rc7

Fix

  • Fixed version 2.0.0rc7
    pip install --upgrade octoprint==2.0.0rc7

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences