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

- Severity: Medium 4.6 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-06-23T17:15:14.000Z
- Modified: 2026-10-14T19:10:00.297Z
- Also known as: GHSA-p6qx-ghxm-389h, PYSEC-2026-2688
- Weaknesses: CWE-80
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- OctoPrint OctoPrint: < 1.11.8; >= 2.0.0rc1, < 2.0.0rc3
- octoprint (PyPI): before 1.11.8; from 2.0.0rc1 before 2.0.0rc3

## Every score

- GitHub_M: CVSS:4.0 4.6 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- PyPA Advisory Database: CVSS:4.0 `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> (web)
- <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://nvd.nist.gov/vuln/detail/CVE-2026-35163> (advisory)
- <https://github.com/OctoPrint/OctoPrint> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/octoprint/PYSEC-2026-2688.yaml> (web)
- <https://pypi.org/project/octoprint> (package)
- <https://github.com/advisories/GHSA-p6qx-ghxm-389h> (advisory)

## Sources

- CVE List: [CVE-2026-35163](https://www.cve.org/CVERecord?id=CVE-2026-35163), CVE Terms of Use, modified 2026-08-21
- GitHub Advisory Database: [GHSA-p6qx-ghxm-389h](https://github.com/advisories/GHSA-p6qx-ghxm-389h), CC-BY-4.0, modified 2026-08-21
- NVD: [CVE-2026-35163](https://nvd.nist.gov/vuln/detail/CVE-2026-35163), Public domain, modified 2026-10-14
- PyPA Advisory Database: [PYSEC-2026-2688](https://osv.dev/vulnerability/PYSEC-2026-2688), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-35163 · Whole record: https://cve.day/CVE-2026-35163.json · Rebuilt by cve.day 2026-11-25T22:59:34.810Z
