OctoPrint has XSS in its Suppressed Command Notifications
Impact
OctoPrint versions up to and including 1.11.7 as well as 2.0.0rc1 and 2.0.0rc2 are affected by a vulnerability that allows injection of arbitrary HTML and JavaScript into Suppressed Command notifications 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 has been patched in version 1.11.8 and 2.0.0rc3.
Workaround
OctoPrint administrators can mitigate the risk by disabling popups:
- for Action Command notifications, set OctoPrint Settings -> Serial Connection -> Behaviour -> Sanity Checking -> Display notifications for suppressed commands to Never show notifications
It is also strongly recommended to ensure that files being printed originate from trusted sources, and, whenever possible, are sliced with an application's own slicer.
Credits
This vulnerability was discovered and responsibly disclosed to OctoPrint by Jacopo Tediosi.
Timeline
2026-03-18: Report received 2026-04-01: Report verified 2026-04-01: Fix ready for 2.0.0 2026-06-22: Fix backported to 1.11.x 2026-06-23: Fix released with 1.11.8 and 2.0.0rc3
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Python (PyPI) | octoprint | < 1.11.8, >= 2.0.0rc1, < 2.0.0rc3 | 1.11.8, 2.0.0rc3 |
Referencias
- https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-p6qx-ghxm-389h
- https://github.com/OctoPrint/OctoPrint
- https://pypi.org/project/octoprint
- https://github.com/advisories/GHSA-p6qx-ghxm-389h
- https://nvd.nist.gov/vuln/detail/CVE-2026-35163
- https://github.com/pypa/advisory-database/tree/main/vulns/octoprint/PYSEC-2026-2688.yaml
- Vector CVSS
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- Debilidad (CWE)
CWE-80- Plataforma
- Python (PyPI)
- Paquete
octoprint- Publicada
- 23.06.2026
- Actualizado
- 11.10.2026 15:17
Fuentes y licencias
OSV / GitHub Advisory Database - PYSEC-2026-2688 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-p6qx-ghxm-389h - CC BY 4.0
Historial de vulnerabilidades: octoprint
Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 24
- Primera → última
- 05.2021 06.2026
- Sin corrección
- 1
- Explotada en ataques
- 0
Distribución por gravedad
- Crítica 1
- Alta 8
- Media 13
- Baja 2
Divulgaciones por año
- 2021: 2
- 2022: 8
- 2023: 1
- 2024: 5
- 2025: 5
- 2026: 3
-
OctoPrint has XSS in its Suppressed Command Notifications esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.