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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.6
- **CVSS:** 4.6 (v4.0, CNA) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:L/SC:L/SI:L/SA:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Active; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low; Confidentiality impact on other systems: Low; Integrity impact on other systems: Low; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-80
- **Aliases:** GHSA-crvm-xjhm-9h29, PYSEC-2026-1714
- **Published:** 2025-11-04T15:42:48.000Z
- **Modified:** 2026-07-07T17:57:31.794Z

## Who should check

- Projects that depend on PyPI package octoprint (\< 1.11.4)
- Anyone running OctoPrint \< 1.11.4

## Description

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.

## Affected and fixed versions

- PyPI `octoprint`: affected \< 1.11.4; fixed 1.11.4 (osv)
- OctoPrint: \< 1.11.4 (cvelist)

## Mitigation

- Upgrade octoprint to 1.11.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-64187. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-64187.md
Affected: octoprint < 1.11.4
Fixed in: 1.11.4

Steps:
1. Search this machine and project for octoprint (PyPI), OctoPrint: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-64187 being exploited?

There is no confirmed exploitation: CVE-2025-64187 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-64187?

Medium: CVSS 4.6 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-64187?

octoprint \< 1.11.4.

### Is there a fix for CVE-2025-64187?

Yes. Fixed in 1.11.4. Upgrade octoprint to 1.11.4 or later.

### How do I check if I'm affected by CVE-2025-64187?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-crvm-xjhm-9h29>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-64187>
- vendor: <https://github.com/advisories/GHSA-crvm-xjhm-9h29>
- patch: <https://github.com/OctoPrint/OctoPrint/commit/9112e07b1085f4c1ee9eefc67985809251057a44>
- other: <https://github.com/OctoPrint/OctoPrint>
- other: <https://pypi.org/project/octoprint>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-64187>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-crvm-xjhm-9h29> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1714> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-64187> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-64187>
