{"id":"CVE-2021-32561","aliases":["CVE-2021-32561","GHSA-vcx4-fpmp-mvv6","PYSEC-2021-30"],"related":[],"kind":"vulnerability","state":"published","title":"OctoPrint API Error Messages vulnerable to XSS","summary":"OctoPrint before 1.6.0 allows XSS because API error messages include the values of input parameters.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OctoPrint before 1.6.0 allows XSS because API error messages include the values of input parameters.","source":"cvelist"},{"lang":"es","text":"OctoPrint versiones anteriores a 1.6.0, permite un ataque de tipo XSS porque los mensajes de error de la API incluyen los valores de los parámetros de entrada","source":"nvd"}],"published":"2021-05-11T13:38:43.000Z","modified":"2026-06-17T03:53:10.803Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.6.0"}],"ecosystem":"PyPI","package":"octoprint","purl":"pkg:pypi/octoprint","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.6.0"}],"vendor":"octoprint","product":"octoprint","cpe":"cpe:2.3:a:octoprint:octoprint:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.6.0"}],"ecosystem":"PyPI","package":"octoprint","purl":"pkg:pypi/octoprint","source":"pysec"}],"references":[{"url":"https://octoprint.org/blog/2021/04/27/new-release-1.6.0/","tags":["article","release-notes","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"https://github.com/OctoPrint/OctoPrint/releases/tag/1.6.0","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.brzozowski.io/web-applications/2021/05/11/the-insecure-story-of-octoprint.html","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32561","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/OctoPrint/OctoPrint","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/octoprint/PYSEC-2021-30.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://octoprint.org/blog/2021/04/27/new-release-1.6.0","tags":["web"],"sources":["ghsa"]},{"url":"https://www.brzozowski.io","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/advisories/GHSA-vcx4-fpmp-mvv6","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-32561","url":"https://www.cve.org/CVERecord?id=CVE-2021-32561","licence":"CVE Terms of Use","modified":"2024-08-03T23:25:30.992Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vcx4-fpmp-mvv6","url":"https://github.com/advisories/GHSA-vcx4-fpmp-mvv6","licence":"CC-BY-4.0","modified":"2024-10-08T12:58:05.513Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-32561","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32561","licence":"Public domain","modified":"2026-06-17T03:53:10.803Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-30","url":"https://osv.dev/vulnerability/PYSEC-2021-30","licence":"CC-BY-4.0","modified":"2026-06-10T17:02:27.253Z"}],"updatedAt":"2026-11-25T22:58:01.273Z","epss":{"score":0.01148,"percentile":0.67717,"date":"2026-12-01T12:00:22.000Z"}}