CVE-2021-32561 json
OctoPrint API Error Messages vulnerable to XSS
published 2021-05-11 5 y ago modified 2026-06-17 4 mo ago also GHSA-vcx4-fpmp-mvv6 , PYSEC-2021-30 , EUVD-2021-0155
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 67%
- public exploits
- 0
- none known
Summary
OctoPrint before 1.6.0 allows XSS because API error messages include the values of input parameters.
Patch / fix
- pypi octoprint 1.6.0
- octoprint octoprint 1.6.0
Exploit prediction
1.15% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- brzozowski.io https://www.brzozowski.io/web-applications/2021/05/11/the-insecure-story-of-octoprint.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | octoprint | <1.6.0 |
1.6.0 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
brzozowski.io
/web-applications/2021/05/11/the-insecure-story-of-octoprint.html
web, exploit, third-party-advisory
-
octoprint.org
/blog/2021/04/27/new-release-1.6.0/
release-notes, third-party-advisory, article
-
github.com
/OctoPrint/OctoPrint/releases/tag/1.6.0
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-32561
advisory
-
github.com
/OctoPrint/OctoPrint
package
-
github.com
/pypa/advisory-database/tree/main/vulns/octoprint/PYSEC-2021-30.yaml
web
-
octoprint.org
/blog/2021/04/27/new-release-1.6.0
web
-
brzozowski.io
web
-
github.com
/advisories/GHSA-vcx4-fpmp-mvv6
advisory
Sources
- CVE List CVE-2021-32561
- GitHub Advisory GHSA-vcx4-fpmp-mvv6
- NVD CVE-2021-32561
- OSV PYSEC-2021-30
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.