CVE-2026-139901: OctoPrint · Cross-site Scripting
Affects OctoPrintSource GCVE Database
Not known to be exploited · CVSS 1.0 Low.
Data as of 30 Nov 2026, 16:33 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 1.0 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 4.0 |
CVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| OctoPrint OctoPrint | Affected
| Fixed in– |
AI-suggested
Since the vulnerability requires printer control and user interaction, restricting printer access and careful handling of printer file operations can reduce risk. Monitor vendor advisories for updates or patches addressing this issue.
Description
OctoPrint versions through 2.0.2 contain a stored cross-site scripting (XSS) vulnerability. This flaw allows attackers with printer control to inject malicious HTML via unsanitized printer SD file names. The injected script executes when another user deletes the crafted entry, potentially acting with the victim's API permissions.
References
- github.com/OctoPrint/OctoPrint/issues/5508 (opens in a new tab)
- github.com/OctoPrint/OctoPrint/pull/5509 (opens in a new tab)
- github.com/OctoPrint/OctoPrint/blob/2.0.2/src/octoprint/static/js/app/viewmodels/files.js (opens in a new tab)
- github.com/OctoPrint/OctoPrint/blob/2.0.2/src/octoprint/static/js/app/helpers.js (opens in a new tab)
- github.com/OctoPrint/OctoPrint/blob/2.0.2/src/octoprint/plugins/serial_connector/serial_comm.py (opens in a new tab)
- vulncheck.com/advisories/octoprint-through-2.0.2-stored-xss-via-sd-file-list-deletion-confirmation (opens in a new tab)