CVE-2025-64187: OctoPrint is vulnerable to XSS through Action Command Notifications and Prompts

Published Nov 4, 2025
·
Updated

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.

Other sources

OctoPrint provides a web interface for controlling consumer 3D printers. Versions 1.11.3 and below are affected by a vulnerability that allows injection of arbitrary HTML and JavaScript into Action Command notifications and prompts 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. This issue is fixed in version 1.11.4.

MITRE

Affected Software

2 affected componentsFixes available
pip/octoprint<=1.11.3
1.11.4
OctoPrint OctoPrint<1.11.4

Event History

Nov 4, 2025
Advisory Published
via GitHub·03:42 PM
Data Sourced
via GitHub·03:42 PM
DescriptionWeaknessAffected Software
Nov 7, 2025
CVE Published
via MITRE·03:11 AM
Data Sourced
via MITRE·03:11 AM
DescriptionWeakness
Data Sourced
via NVD·04:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 AM
RemedyAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-64187?

CVE-2025-64187 has a critical severity level due to the potential for arbitrary code execution through injected scripts.

2

How do I fix CVE-2025-64187?

To fix CVE-2025-64187, upgrade OctoPrint to version 1.11.4 or later.

3

What versions of OctoPrint are affected by CVE-2025-64187?

OctoPrint versions up to and including 1.11.3 are affected by CVE-2025-64187.

4

What kind of attack can exploit CVE-2025-64187?

CVE-2025-64187 can be exploited by an attacker injecting arbitrary HTML and JavaScript into Action Command notifications.

5

Who is impacted by CVE-2025-64187?

Users of OctoPrint versions 1.11.3 and lower are impacted by CVE-2025-64187 if they interact with notifications from untrusted sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203