NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2025-64187: OctoPrint vulnerable to XSS in Action Commands Notification and Prompt

mediumCVSS 4.0 4.6GHSA-crvm-xjhm-9h29

Impact OctoPrint 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.

Published Nov 4, 2025 · Updated Nov 7, 2025

Affected packages

octoprint

Ecosystem
PyPI
Affected
<= 1.11.3
Fixed in
1.11.4
Check
pip show octoprint

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

OctoPrint 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.

An 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.

Patches

The vulnerability will be patched in version 1.11.4.

Workaround

OctoPrint administrators can mitigate the risk by disabling popups:

  • for Action Command notifications, uncheck _OctoPrint Settings -> Printer Notifications -> Enable popups_
  • for Action Command prompts, set _OctoPrint Settings -> Printer Dialogs -> Enable support -> Never_

It is also strongly recommended to ensure that files being printed originate from trusted sources, and, whenever possible, are sliced with your own slicer.

Credits

This vulnerability was discovered and responsibly disclosed to OctoPrint by Jacopo Tediosi.

Credited to jacopotediosi.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries