Skip to content
OpenAdvisories
Medium · 4.6 CVE-2026-35163 EUVD-2026-64043GHSA-p6qx-ghxm-389hPYSEC-2026-2688

OctoPrint: XSS in Suppressed Command Notifications

Published Aug 21, 2026 · Updated Aug 21, 2026 · Assigned by GitHub_M

Description

OctoPrint provides a web interface for controlling consumer 3D printers. Prior to 1.11.8 and 2.0.0rc3, Suppressed Command notification popups use PNotify rendering for printer-controlled payload.command and payload.message values in src/octoprint/static/js/app/viewmodels/terminal.js without HTML escaping. An attacker who convinces a victim to print a crafted file can inject HTML and JavaScript into the notification, disrupt prints, read information available to the victim including sensitive settings when permitted, or perform actions in the victim's OctoPrint session. This issue is fixed in versions 1.11.8 and 2.0.0rc3.

Affected products

VendorProductAffectedFixed
OctoPrint OctoPrint < 1.11.8, >= 2.0.0rc1, < 2.0.0rc3 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI octoprint < 1.11.8 1.11.8 GHSA-p6qx-ghxm-389h
PyPI octoprint >= 2.0.0rc1, < 2.0.0rc3 2.0.0rc3 GHSA-p6qx-ghxm-389h
PyPI octoprint < 1.11.8 · >= 2.0.0rc1, < 2.0.0rc3 1.11.8, 2.0.0rc3 PYSEC-2026-2688

References