{"id":"PYSEC-2026-1714","summary":"OctoPrint vulnerable to XSS in Action Commands Notification and Prompt","details":"### Impact\n\nOctoPrint versions up to and including 1.11.3 are affected by a vulnerability that allows injection of arbitrary HTML and JavaScript into Action Command notification and prompt popups generated by the printer.\n\nAn attacker who successfully convinces a victim to print a specially crafted file could exploit this issue to disrupt ongoing prints, extract information (including sensitive configuration settings, if the targeted user has the necessary permissions for that), or perform other actions on behalf of the targeted user within the OctoPrint instance.\n\n### Patches\n\nThe vulnerability will be patched in version 1.11.4.\n\n### Workaround\n\nOctoPrint administrators can mitigate the risk by disabling popups:\n- for Action Command notifications, uncheck _OctoPrint Settings -\u003e Printer Notifications -\u003e Enable popups_\n- for Action Command prompts, set _OctoPrint Settings -\u003e Printer Dialogs -\u003e Enable support -\u003e Never_\n\nIt is also strongly recommended to ensure that files being printed originate from trusted sources, and, whenever possible, are sliced with your own slicer.\n\n### Credits\n\nThis vulnerability was discovered and responsibly disclosed to OctoPrint by [Jacopo Tediosi](https://github.com/jacopotediosi).","aliases":["CVE-2025-64187","GHSA-crvm-xjhm-9h29"],"modified":"2026-07-07T17:47:22.673371894Z","published":"2026-07-07T16:03:09.577264Z","references":[{"type":"WEB","url":"https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-crvm-xjhm-9h29"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64187"},{"type":"WEB","url":"https://github.com/OctoPrint/OctoPrint/commit/9112e07b1085f4c1ee9eefc67985809251057a44"},{"type":"PACKAGE","url":"https://github.com/OctoPrint/OctoPrint"},{"type":"PACKAGE","url":"https://pypi.org/project/octoprint"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-crvm-xjhm-9h29"}],"affected":[{"package":{"name":"octoprint","ecosystem":"PyPI","purl":"pkg:pypi/octoprint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.4"}]}],"versions":["1.10.0","1.10.0rc1","1.10.0rc2","1.10.0rc3","1.10.0rc4","1.10.1","1.10.2","1.10.3","1.11.0","1.11.0rc1","1.11.0rc2","1.11.0rc3","1.11.0rc4","1.11.0rc5","1.11.0rc6","1.11.0rc7","1.11.1","1.11.2","1.11.3","1.3.11","1.3.12","1.3.12rc1","1.3.12rc3","1.4.0","1.4.0rc1","1.4.0rc2","1.4.0rc3","1.4.0rc4","1.4.0rc5","1.4.0rc6","1.4.1","1.4.1rc1","1.4.1rc2","1.4.1rc3","1.4.1rc4","1.4.2","1.5.0","1.5.0rc1","1.5.0rc2","1.5.0rc3","1.5.1","1.5.2","1.5.3","1.6.0","1.6.0rc1","1.6.0rc2","1.6.0rc3","1.6.1","1.7.0","1.7.0rc1","1.7.0rc2","1.7.0rc3","1.7.1","1.7.2","1.7.3","1.8.0","1.8.0rc1","1.8.0rc2","1.8.0rc3","1.8.0rc4","1.8.0rc5","1.8.1","1.8.2","1.8.3","1.8.4","1.8.5","1.8.6","1.8.7","1.9.0","1.9.0rc1","1.9.0rc2","1.9.0rc3","1.9.0rc4","1.9.0rc5","1.9.0rc6","1.9.1","1.9.2","1.9.3"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/octoprint/PYSEC-2026-1714.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}