{"id":"CVE-2026-139901","aliases":["CVE-2026-139901"],"related":[],"kind":"vulnerability","state":"published","title":"OctoPrint through 2.0.2 Stored XSS via SD File List Deletion Confirmation","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-30T16:20:34.430Z","modified":"2026-11-30T18:18:56.927Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":1,"rating":"LOW"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":1,"rating":"LOW"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","score":4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.0.2","status":"affected"}],"vendor":"OctoPrint","product":"OctoPrint","repo":"https://github.com/OctoPrint/OctoPrint","source":"cvelist"}],"references":[{"url":"https://github.com/OctoPrint/OctoPrint/issues/5508","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OctoPrint/OctoPrint/pull/5509","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OctoPrint/OctoPrint/blob/2.0.2/src/octoprint/static/js/app/viewmodels/files.js#L990-L995","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OctoPrint/OctoPrint/blob/2.0.2/src/octoprint/static/js/app/helpers.js#L841-L846","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OctoPrint/OctoPrint/blob/2.0.2/src/octoprint/plugins/serial_connector/serial_comm.py#L3129-L3136","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/octoprint-through-2.0.2-stored-xss-via-sd-file-list-deletion-confirmation","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["egemenio"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-30T17:02:26.940Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139901","url":"https://www.cve.org/CVERecord?id=CVE-2026-139901","licence":"CVE Terms of Use","modified":"2026-11-30T17:17:16.847Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139901","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139901","licence":"Public domain","modified":"2026-11-30T18:18:56.927Z"}],"updatedAt":"2026-11-30T18:32:31.711Z","epss":{"score":0.00426,"percentile":0.38799,"date":"2026-12-01T12:00:22.000Z"}}