CVE-2021-32561
MEDIUM 6.1CVSS 3.1OctoPrint API Error Messages vulnerable to XSS
OctoPrint before 1.6.0 allows XSS because API error messages include the values of input parameters.
- Published
- 11 May 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-vcx4-fpmp-mvv6PYSEC-2021-30
- Sources
- NVDJSONOSV GHSA-vcx4-fpmp-mvv6JSONOSV PYSEC-2021-30JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | octoprint | octoprintcpe:2.3:a:octoprint:octoprint:*:*:*:*:*:*:*:* |
< 1.6.0 | 1.6.0 |
| OSV | PyPI | octoprint | < 1.6.0 | 1.6.0 |
References
- https://github.com/OctoPrint/OctoPrint/releases/tag/1.6.0 · Release Notes, Third Party Advisory, WEB
- https://octoprint.org/blog/2021/04/27/new-release-1.6.0/ · Release Notes, Third Party Advisory, WEB, ARTICLE
- https://www.brzozowski.io/web-applications/2021/05/11/the-insecure-story-of-octoprint.html · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-32561 · ADVISORY
- https://github.com/OctoPrint/OctoPrint · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/octoprint/PYSEC-2021-30.yaml · WEB
- https://www.brzozowski.io · WEB
- https://github.com/advisories/GHSA-vcx4-fpmp-mvv6 · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 11 May 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 11 May 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 May 2022)