Vulnerability · Published Aug 21, 2026 · Assigned by GitHub_M
CVE-2026-35163OctoPrint: XSS in Suppressed Command Notifications
Medium 4.6
In plain English
A medium-severity security flaw in OctoPrint from OctoPrint. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 10% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | octoprint | 1.11.8 | GHSA-p6qx-ghxm-389h |
| PyPI | octoprint | 2.0.0rc3 | GHSA-p6qx-ghxm-389h |
| PyPI | octoprint | 1.11.8, 2.0.0rc3 | PYSEC-2026-2688 |
Affected products (as reported)
Weakness: CWE-80 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:L/SC:L/SI:L/SA:N
References
- https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-p6qx-ghxm-389h x_refsource_CONFIRM
- https://github.com/OctoPrint/OctoPrint/commit/42e0f9863935e136f04ed3c560cb96483a580d1b x_refsource_MISC
- https://github.com/OctoPrint/OctoPrint/commit/6e3db9096f8a94f7c2249be24b6d03a7d9c12bc7 x_refsource_MISC
- https://github.com/OctoPrint/OctoPrint/releases/tag/1.11.8 x_refsource_MISC
- https://github.com/OctoPrint/OctoPrint/releases/tag/2.0.0rc3 x_refsource_MISC