Skip to content

OctoPrint

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

CVE-2024-28237Published 18 Mar 2024, 21:17 UTC

Real-world risk

0.2/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

4.0

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
OctoPrintNiche<= 1.9.3—

What to do

Check the vendor advisory in the references below for fixed versions and workarounds.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededHighAdmin or equivalentFrom the CVSS vector0.20
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T3: Public proof of concept (× 0.95)

A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit

  • CISA SSVC: proof of concept

EPSS 0.4% chance of exploitation in 30 days (percentile 40), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.070
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 0.3 × prerequisites 0.07 × threat 0.950.199
  4. Rounded to one decimal between 0.1 and 100.2

How the score works

Exploitation and evidence timeline

  1. 18 Mar 2024 Published
  2. 3 Dec 2026 CISA SSVC: proof of concept first seen
  3. 3 Dec 2026 Risk 0.2 (cvss fallback)

Weakness

CWE-79

References

Get alerts for OctoPrint

Free email or text alerts when a vulnerability in OctoPrint reaches risk 8 or higher. Nothing else.