CVE-2025-64187
Python vulnerability analysis and mitigation

Overview

OctoPrint versions up to and including 1.11.3 are affected by a Cross-Site Scripting (XSS) vulnerability (CVE-2025-64187) discovered on November 4, 2025. The vulnerability allows injection of arbitrary HTML and JavaScript into Action Command notification and prompt popups generated by the printer. This security issue affects two OctoPrint plugins: 'actioncommandnotification' and 'actioncommandprompt', which are designed to display messages from the printer in the OctoPrint web interface (GitHub Advisory).

Technical details

The vulnerability is classified as CWE-80 (Improper Neutralization of Script-Related HTML Tags in a Web Page) with a CVSS v4.0 score of 4.6 (Moderate). The root cause is the failure to properly sanitize user-controllable input that is rendered in a web context, specifically in the handling of messages and prompts originating from the printer. The vulnerable functions are anonymous callbacks in actioncommandnotification.js and actioncommandprompt.js that process untrusted data without proper HTML escaping (GitHub Commit).

Impact

An attacker who successfully convinces a victim to print a specially crafted file could exploit this vulnerability to disrupt ongoing prints, extract information (including sensitive configuration settings if the targeted user has the necessary permissions), or perform other actions on behalf of the targeted user within the OctoPrint instance (GitHub Advisory).

Mitigation and workarounds

The vulnerability will be patched in version 1.11.4. As a temporary workaround, OctoPrint administrators can mitigate the risk by disabling popups: uncheck OctoPrint Settings -> Printer Notifications -> Enable popups for Action Command prompts, and set OctoPrint Settings -> Printer Dialogs -> Enable support -> Never. It is strongly recommended to ensure that files being printed originate from trusted sources and are sliced with your own slicer (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67511CRITICAL9.6
  • PythonPython
  • cai-framework
NoNoDec 11, 2025
CVE-2025-13780CRITICAL9.1
  • PythonPython
  • pgadmin4
NoYesDec 11, 2025
CVE-2025-67644HIGH7.3
  • PythonPython
  • langgraph-checkpoint-sqlite
NoYesDec 11, 2025
CVE-2025-67720MEDIUM6.5
  • PythonPython
  • pyrofork
NoYesDec 11, 2025
CVE-2025-67485MEDIUM5.3
  • PythonPython
  • mad-proxy
NoNoDec 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management