---
id: CVE-2025-64187
aliases:
  - GHSA-crvm-xjhm-9h29
  - PYSEC-2026-1714
title: OctoPrint vulnerable to XSS in Action Commands Notification and Prompt
summary: OctoPrint vulnerable to XSS in Action Commands Notification and Prompt
severity: medium
vendor: octoprint
product: octoprint
ecosystem: pip
affected:
  - octoprint < 1.11.4
patched:
  - octoprint 1.11.4
published: '2025-11-04'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-crvm-xjhm-9h29'
references:
  - url: >-
      https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-crvm-xjhm-9h29
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-64187'
  - url: >-
      https://github.com/OctoPrint/OctoPrint/commit/9112e07b1085f4c1ee9eefc67985809251057a44
  - url: 'https://github.com/OctoPrint/OctoPrint'
tags:
  - osv
  - pip
epss: 0.00158
epssPercentile: 0.05329
ingestedAt: '2026-07-08T18:25:48.569Z'
---

## Overview

### 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](https://github.com/jacopotediosi).

## Affected packages

- `octoprint < 1.11.4`

## Remediation

Upgrade to a patched release:

- `octoprint 1.11.4`
