All vulnerabilities

PyPI

CVE-2026-139901

OctoPrint through 2.0.2 Stored XSS via SD File List Deletion Confirmation

Severity
Low 1.0
Published
30 Nov 2026
Last changed
30 Nov 2026
Added to UpHeron
30 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
From the same local network · Only under certain conditions · Needs a user account · Needs someone to view a page or file
Attacker can
Read some data · Change some data
CVSS 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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
octoprintPyPI · osv:PyPI:octoprint
  • Every version up to 2.0.2

About octoprint

Weekly downloads (PyPI)
5,069PyPI Stats, 24 Nov 2026

Vulnerabilities in octoprint

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
0
Known exploited
0
Search the list for octoprint

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-139901