OctoPrint vulnerable to XSS in Action Commands Notification and Prompt
Moderate severity
GitHub Reviewed
Published
Nov 4, 2025
in
OctoPrint/OctoPrint
•
Updated Nov 7, 2025
Description
Published to the GitHub Advisory Database
Nov 4, 2025
Reviewed
Nov 4, 2025
Published by the National Vulnerability Database
Nov 7, 2025
Last updated
Nov 7, 2025
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:
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.
References