OctoPrint through 2.0.2 contains a stored cross-site scripting vulnerability that allows attackers to inject HTML by planting unsanitized printer SD file names. Attackers with printer control can send M118 echo commands emitting a crafted file list, executing script when another user deletes the entry and acting with their API permissions.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 30 Nov 2026 16:30:00 +0000

Type Values Removed Values Added
Description OctoPrint through 2.0.2 contains a stored cross-site scripting vulnerability that allows attackers to inject HTML by planting unsanitized printer SD file names. Attackers with printer control can send M118 echo commands emitting a crafted file list, executing script when another user deletes the entry and acting with their API permissions.
Title OctoPrint through 2.0.2 Stored XSS via SD File List Deletion Confirmation
First Time appeared Octoprint
Octoprint octoprint
Weaknesses CWE-79
CPEs cpe:2.3:a:octoprint:octoprint:*:*:*:*:*:*:*:*
Vendors & Products Octoprint
Octoprint octoprint
References
Metrics cvssV3_1

{'score': 4, 'vector': 'CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 1, 'vector': 'CVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-30T17:17:16.847Z

Reserved: 2026-11-30T16:09:50.622Z

Link: CVE-2026-139901

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-30T17:18:53.387

Modified: 2026-11-30T18:18:56.927

Link: CVE-2026-139901

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses