# CVE-2026-35163: OctoPrint: XSS in Suppressed Command Notifications

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.6
- **CVSS:** 4.6 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Active; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low; Confidentiality impact on other systems: Low; Integrity impact on other systems: Low; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 6, 2026-11-28)
- **CWE:** CWE-80
- **Aliases:** GHSA-p6qx-ghxm-389h, PYSEC-2026-2688
- **Published:** 2026-06-23T17:15:14.000Z
- **Modified:** 2026-10-14T19:10:00.297Z

## Who should check

- Projects that depend on PyPI package octoprint (\< 1.11.8)
- Anyone running OctoPrint \< 1.11.8; \>= 2.0.0rc1, \< 2.0.0rc3

## 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 and fixed versions

- PyPI `octoprint`: affected \< 1.11.8; fixed 1.11.8, 2.0.0rc3 (osv)
- OctoPrint: \< 1.11.8; \>= 2.0.0rc1, \< 2.0.0rc3 (cvelist)

## Mitigation

- Upgrade octoprint to one of 1.11.8, 2.0.0rc3 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-35163. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-35163.md
Affected: octoprint < 1.11.8
Fixed in: 1.11.8, 2.0.0rc3

Steps:
1. Search this machine and project for octoprint (PyPI), OctoPrint: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-35163 being exploited?

There is no confirmed exploitation: CVE-2026-35163 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-35163?

Medium: CVSS 4.6 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-35163?

octoprint \< 1.11.8.

### Is there a fix for CVE-2026-35163?

Yes. Fixed in 1.11.8, 2.0.0rc3. Upgrade octoprint to one of 1.11.8, 2.0.0rc3 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-35163?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-p6qx-ghxm-389h>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-35163>
- vendor: <https://github.com/advisories/GHSA-p6qx-ghxm-389h>
- patch: <https://github.com/OctoPrint/OctoPrint/commit/42e0f9863935e136f04ed3c560cb96483a580d1b>
- patch: <https://github.com/OctoPrint/OctoPrint/commit/6e3db9096f8a94f7c2249be24b6d03a7d9c12bc7>
- other: <https://github.com/OctoPrint/OctoPrint/releases/tag/1.11.8>
- other: <https://github.com/OctoPrint/OctoPrint/releases/tag/2.0.0rc3>
- other: <https://github.com/OctoPrint/OctoPrint>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/octoprint/PYSEC-2026-2688.yaml>
- other: <https://pypi.org/project/octoprint>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-35163>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-p6qx-ghxm-389h> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-2688> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-35163> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-35163>
