# CVE-2021-32561: OctoPrint API Error Messages vulnerable to XSS

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.15%, higher than 67% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-05-11T13:38:43.000Z
- Modified: 2026-06-17T03:53:10.803Z
- Also known as: GHSA-vcx4-fpmp-mvv6, PYSEC-2021-30
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- octoprint (PyPI): before 1.6.0
- octoprint octoprint: before 1.6.0

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://www.brzozowski.io/web-applications/2021/05/11/the-insecure-story-of-octoprint.html> (exploit, third-party-advisory, web)
- <https://octoprint.org/blog/2021/04/27/new-release-1.6.0/> (article, release-notes, third-party-advisory)
- <https://github.com/OctoPrint/OctoPrint/releases/tag/1.6.0> (release-notes, 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://octoprint.org/blog/2021/04/27/new-release-1.6.0> (web)
- <https://www.brzozowski.io> (web)
- <https://github.com/advisories/GHSA-vcx4-fpmp-mvv6> (advisory)

## Sources

- CVE List: [CVE-2021-32561](https://www.cve.org/CVERecord?id=CVE-2021-32561), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-vcx4-fpmp-mvv6](https://github.com/advisories/GHSA-vcx4-fpmp-mvv6), CC-BY-4.0, modified 2024-10-08
- NVD: [CVE-2021-32561](https://nvd.nist.gov/vuln/detail/CVE-2021-32561), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-30](https://osv.dev/vulnerability/PYSEC-2021-30), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2021-32561 · Whole record: https://cve.day/CVE-2021-32561.json · Rebuilt by cve.day 2026-11-25T22:58:01.273Z
