Live threats

All CVEs / Octoprint

CVE-2021-32561Octoprint

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
1.1%
probability of exploitation in 30 days · percentile 67
Auth required
No
Published
May 11, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

OctoPrint before 1.6.0 allows XSS because API error messages include the values of input parameters.

Original NVD text.

What to do

  1. Apply the vendor's security update for Octoprint.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI octoprint < 1.6.0 1.6.0 pip install "octoprint>=1.6.0"
PyPI octoprint < 1.6.0 1.6.0 pip install "octoprint>=1.6.0"

Per OSV / GitHub Advisories (GHSA-vcx4-fpmp-mvv6, PYSEC-2021-30). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
octoprintoctoprint< 1.6.0

Official sources

References

Links published by the sources. Open them with care.