{"id":"CVE-2021-32561","aliases":["EUVD-2021-0155","GHSA-vcx4-fpmp-mvv6","PYSEC-2021-30"],"status":"published","title":"OctoPrint API Error Messages vulnerable to XSS","description":"OctoPrint before 1.6.0 allows XSS because API error messages include the values of input parameters.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.01148,"percentile":0.67261,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2021-05-11T13:38:43Z","modified":"2026-10-24T10:50:24Z","fixes":[{"ecosystem":"PyPI","package":"octoprint","fixed_in":["1.6.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"octoprint","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"octoprint","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.0"}]}],"versions":["1.3.11","1.3.12","1.3.12rc1","1.3.12rc3","1.4.0","1.4.0rc1","1.4.0rc2","1.4.0rc3","1.4.0rc4","1.4.0rc5","1.4.0rc6","1.4.1","1.4.1rc1","1.4.1rc2","1.4.1rc3","1.4.1rc4","1.4.2","1.5.0","1.5.0rc1","1.5.0rc2","1.5.0rc3","1.5.1","1.5.2","1.5.3","1.6.0rc1","1.6.0rc2","1.6.0rc3"]},{"source":"osv","ecosystem":"PyPI","package":"octoprint","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.0"}]}],"versions":["1.3.11","1.3.12","1.3.12rc1","1.3.12rc3","1.4.0","1.4.0rc1","1.4.0rc2","1.4.0rc3","1.4.0rc4","1.4.0rc5","1.4.0rc6","1.4.1","1.4.1rc1","1.4.1rc2","1.4.1rc3","1.4.1rc4","1.4.2","1.5.0","1.5.0rc1","1.5.0rc2","1.5.0rc3","1.5.1","1.5.2","1.5.3","1.6.0rc1","1.6.0rc2","1.6.0rc3"]}],"products":[{"vendor":"octoprint","product":"octoprint"}],"references":[{"url":"https://octoprint.org/blog/2021/04/27/new-release-1.6.0/","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","article"]},{"url":"https://github.com/OctoPrint/OctoPrint/releases/tag/1.6.0","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://www.brzozowski.io/web-applications/2021/05/11/the-insecure-story-of-octoprint.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32561","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/octoprint/PYSEC-2021-30.yaml","tags":["web"]},{"url":"https://octoprint.org/blog/2021/04/27/new-release-1.6.0","tags":["web"]},{"url":"https://www.brzozowski.io","tags":["web"]},{"url":"https://github.com/advisories/GHSA-vcx4-fpmp-mvv6","tags":["advisory"]},{"url":"https://github.com/OctoPrint/OctoPrint","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-32561","description":"OctoPrint before 1.6.0 allows XSS because API error messages include the values of input parameters.","status":"published","published":"2021-05-11T13:38:43Z","modified":"2024-08-03T23:25:30.992Z","updated_at":"2026-11-02T14:33:07.014772Z"}],"euvd":[{"id":"EUVD-2021-0155","description":"OctoPrint before 1.6.0 allows XSS because API error messages include the values of input parameters.","status":"published","published":"2021-05-11T13:38:43Z","modified":"2024-08-03T23:25:30Z","updated_at":"2026-11-03T03:24:36.41075Z"}],"ghsa":[{"id":"GHSA-vcx4-fpmp-mvv6","title":"OctoPrint API Error Messages vulnerable to XSS","description":"OctoPrint before 1.6.0 allows XSS because API error messages include the values of input parameters.","status":"published","published":"2022-05-24T19:02:06Z","modified":"2024-10-08T12:35:15Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"},{"version":"4.0","score":5.3,"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","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:38:08.742903Z"}],"nvd":[{"id":"CVE-2021-32561","description":"OctoPrint before 1.6.0 allows XSS because API error messages include the values of input parameters.","status":"published","published":"2021-05-11T14:15:07.39Z","modified":"2026-06-17T03:53:10.803Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:53.343329Z"}],"osv":[{"id":"CVE-2021-32561","description":"OctoPrint before 1.6.0 allows XSS because API error messages include the values of input parameters.","status":"published","published":"2021-05-11T14:15:07.39Z","modified":"2026-10-24T10:50:24.265416933Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:19.793849Z"},{"id":"GHSA-vcx4-fpmp-mvv6","title":"OctoPrint API Error Messages vulnerable to XSS","description":"OctoPrint before 1.6.0 allows XSS because API error messages include the values of input parameters.","status":"published","published":"2022-05-24T19:02:06Z","modified":"2024-10-08T12:58:05.513021Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"},{"version":"4.0","score":5.3,"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","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:56.981655Z"},{"id":"PYSEC-2021-30","description":"OctoPrint before 1.6.0 allows XSS because API error messages include the values of input parameters.","status":"published","published":"2021-05-11T14:15:00Z","modified":"2026-06-10T17:02:27.2534069Z","updated_at":"2026-11-02T15:52:52.682031Z"}]}}
