Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-28237

MEDIUM 4.0EPSS 31%

OctoPrint XSS via the "Snapshot Test" feature in Classic Webcam plugin settings

Also known as GHSA-x7mf-wrh9-r76c, PYSEC-2024-179

Mitigation

  • Upgrade octoprint to one of 1.10.0rc3, 1.10.0 (or later in the same release line).

Who should check

  • Projects that depend on PyPI package octoprint (< 1.10.0rc3)
  • Anyone running OctoPrint <= 1.9.3

Vulnerability facts

Affected
octoprint < 1.10.0rc3
Fixed in
1.10.0rc3, 1.10.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
4.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: High
  • User interaction: Required
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: Low
EPSS
0.45% chance of exploitation in 30 days (percentile 31, 2026-11-26)
CWE
CWE-79
Published
Modified

Description

OctoPrint provides a web interface for controlling consumer 3D printers. OctoPrint versions up until and including 1.9.3 contain a vulnerability that allows malicious admins to configure or talk a victim with administrator rights into configuring a webcam snapshot URL which when tested through the "Test" button included in the web interface will execute JavaScript code in the victims browser when attempting to render the snapshot image. An attacker who successfully talked a victim with admin rights into performing a snapshot test with such a crafted URL could use this to retrieve or modify sensitive configuration settings, interrupt prints or otherwise interact with the OctoPrint instance in a malicious way. The vulnerability is patched in version 1.10.0rc3. OctoPrint administrators are strongly advised to thoroughly vet who has admin access to their installation and what settings they modify based on instructions by strangers.

Affected and fixed versions

Package / productAffectedFixedSource
PyPI octoprint< 1.10.0rc31.10.0rc3, 1.10.0osv
OctoPrint<= 1.9.3—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-28237. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-28237.md
Affected: octoprint < 1.10.0rc3
Fixed in: 1.10.0rc3, 1.10.0

Steps:
1. Search this machine and project for octoprint (PyPI), OctoPrint: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-28237 being exploited?

There is no confirmed exploitation: CVE-2024-28237 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.45% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-28237?

Medium: CVSS 4.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2024-28237?

octoprint < 1.10.0rc3.

Is there a fix for CVE-2024-28237?

Yes. Fixed in 1.10.0rc3, 1.10.0. Upgrade octoprint to one of 1.10.0rc3, 1.10.0 (or later in the same release line).

How do I check if I'm affected by CVE-2024-28237?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors