OctoPrint: XSS in Suppressed Command Notifications
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-80.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OctoPrint | OctoPrint | before 1.11.8; 2.0.0rc1 to before 2.0.0rc3 | 1.11.8, 2.0.0rc3 | Patch available | CNA |
| — | OctoPrint (PyPI) | before 1.11.8 | 1.11.8 | Patch available | GHSA-p6qx-ghxm-389h |
| — | OctoPrint (PyPI) | 2.0.0rc1 to before 2.0.0rc3 | 2.0.0rc3 | Patch available | GHSA-p6qx-ghxm-389h |
- OctoPrint VendorOctoPrint Affected before 1.11.8; 2.0.0rc1 to before 2.0.0rc3 Fixed in 1.11.8, 2.0.0rc3 Patch available CNA
- OctoPrint (PyPI) Vendor— Affected before 1.11.8 Fixed in 1.11.8 Patch available GHSA-p6qx-ghxm-389h
- OctoPrint (PyPI) Vendor— Affected 2.0.0rc1 to before 2.0.0rc3 Fixed in 2.0.0rc3 Patch available GHSA-p6qx-ghxm-389h
Remediation
- Fix · CNA OctoPrint (OctoPrint) Fixed in 1.11.8, 2.0.0rc3
- Fix · GHSA-p6qx-ghxm-389h OctoPrint (PyPI) Fixed in 1.11.8 Advisory →
- Fix · GHSA-p6qx-ghxm-389h OctoPrint (PyPI) Fixed in 2.0.0rc3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-35163
- 2026-10-03 Alias added: GHSA-p6qx-ghxm-389h
References
Other 7
- https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-p6qx-ghxm-389h
- https://github.com/OctoPrint/OctoPrint/commit/42e0f9863935e136f04ed3c560cb96483a580d1b
- https://github.com/OctoPrint/OctoPrint/commit/6e3db9096f8a94f7c2249be24b6d03a7d9c12bc7
- https://github.com/OctoPrint/OctoPrint/releases/tag/1.11.8
- https://github.com/OctoPrint/OctoPrint/releases/tag/2.0.0rc3
- https://github.com/OctoPrint/OctoPrint
- https://github.com/pypa/advisory-database/tree/main/vulns/octoprint/PYSEC-2026-2688.yaml
More OctoPrint vulnerabilities
- TI-2022-02830 Improper Privilege Management in octoprint/octoprint CVSS 3.1HIGH 8.8
- TI-2022-03320 Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) in octoprint/octoprint CVSS 3.1MEDIUM 6.0
- TI-2022-02664 Unrestricted Upload of File with Dangerous Type in octoprint/octoprint CVSS 3.1MEDIUM 5.4
- TI-2025-35988 OctoPrint is Vulnerable to RCE Attacks via Unsanitized Filename in File Upload CVSS 4.0HIGH 7.5
- TI-2024-18796 OctoPrint XSS via the "Snapshot Test" feature in Classic Webcam plugin settings CVSS 3.1MEDIUM 4.8
- TI-2022-02678 Insufficient Session Expiration in octoprint/octoprint CVSS 3.1MEDIUM 4.4
Sources
- CVE-2026-35163 · CVE Program
- CVE-2026-35163 · NVD
- FIRST EPSS
- GHSA-p6qx-ghxm-389h · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences