XSS in Octoprint
CVE-2026-35163
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.
Published · last modified .
EPSS exploit prediction
EPSS: 0.002 (8.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 9th percentile — 8.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.001 · newest: 0.002 · change: +0.001
Affected products
- Octoprint — versions < 1.11.8, >= 2.0.0rc1, < 2.0.0rc3
Weakness classification (CWE)
References
- github.com/OctoPrint/OctoPrint/security/advisories/GHSA-p6qx-ghxm-389h
- github.com/OctoPrint/OctoPrint/commit/42e0f9863935e136f04ed3c560cb96483a580d1b
- github.com/OctoPrint/OctoPrint/commit/6e3db9096f8a94f7c2249be24b6d03a7d9c12bc7
- github.com/OctoPrint/OctoPrint/releases/tag/1.11.8
- github.com/OctoPrint/OctoPrint/releases/tag/2.0.0rc3