{"id":"CVE-2026-35163","published":"2026-08-21T18:25:49Z","modified":"2026-08-21T19:53:55Z","title":"OctoPrint: XSS in Suppressed Command Notifications","vendor":"OctoPrint","product":"OctoPrint","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.6,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00199,"percentile":0.05596,"provenance":"source"},"cwes":[{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"}],"references":[{"url":"https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-p6qx-ghxm-389h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OctoPrint/OctoPrint/commit/42e0f9863935e136f04ed3c560cb96483a580d1b","tags":["x_refsource_MISC"]},{"url":"https://github.com/OctoPrint/OctoPrint/commit/6e3db9096f8a94f7c2249be24b6d03a7d9c12bc7","tags":["x_refsource_MISC"]},{"url":"https://github.com/OctoPrint/OctoPrint/releases/tag/1.11.8","tags":["x_refsource_MISC"]},{"url":"https://github.com/OctoPrint/OctoPrint/releases/tag/2.0.0rc3","tags":["x_refsource_MISC"]}],"priority":{"score":4.3,"factors":[{"name":"EPSS percentile","points":1.12},{"name":"CVSS severity","points":3.22}]},"vendorSlug":"octoprint","affectedVersions":[{"vendor":"OctoPrint","product":"OctoPrint","versions":["< 1.11.8",">= 2.0.0rc1, < 2.0.0rc3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-21T19:53:45.594944Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"OctoPrint","vulnerableRanges":["<1.11.8",">=2.0.0rc1, <2.0.0rc3"],"patched":["1.11.8","2.0.0rc3"],"from":["GHSA-p6qx-ghxm-389h","PYSEC-2026-2688"],"provenance":"source"}],"summary":{"text":"OctoPrint's web interface has a cross-site scripting flaw in the Suppressed Command notification popups, where printer-controlled command and message values are rendered without HTML escaping in the terminal viewmodel. An attacker who convinces a victim to print a crafted file can inject HTML and JavaScript that runs in the victim's OctoPrint session, allowing disrupted prints, reading of information the victim can access, or actions taken under the victim's session, and the attack requires local access and user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:31Z"},"euvd":{"id":"EUVD-2026-64043","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-48067","published":"2025-06-10","fixed":"1.11.2","kev":false},{"cve":"CVE-2025-48879","published":"2025-06-10","fixed":"1.11.2","kev":false},{"cve":"CVE-2026-23892","published":"2026-01-27","fixed":"1.11.6","kev":false,"link":{"from":"CVE-2026-23892","to":"CVE-2026-35163","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:OctoPrint","fromFixed":"1.11.6","toFixed":"1.11.8","daysApart":206}]}},{"cve":"CVE-2026-35163","published":"2026-08-21","fixed":"2.0.0rc3","kev":false},{"cve":"CVE-2026-54134","published":"2026-08-21","fixed":"2.0.0rc3","kev":false},{"cve":"CVE-2026-123364","published":"2026-11-09","fixed":"2.0.0rc7","kev":false}],"package":"PyPI:OctoPrint"}}