{"id":"GHSA-x7r7-wmj8-vv5g","summary":"Cross-site Scripting in OctoPrint","details":"Cross-site Scripting (XSS) - DOM in GitHub repository octoprint/octoprint prior to 1.8.0. The login endpoint allows for javascript injection which may lead to account takeover in a phishing scenario.","aliases":["CVE-2022-1430","PYSEC-2022-200"],"modified":"2024-10-08T12:49:52.517831Z","published":"2022-05-19T00:00:31Z","database_specific":{"github_reviewed_at":"2022-05-25T19:44:08Z","nvd_published_at":"2022-05-18T14:15:00Z","cwe_ids":["CWE-79"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1430"},{"type":"WEB","url":"https://github.com/octoprint/octoprint/commit/8087528e4a7ddd15c7d95ff662deb5ef7de90045"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-x7r7-wmj8-vv5g"},{"type":"PACKAGE","url":"https://github.com/octoprint/octoprint"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/octoprint/PYSEC-2022-200.yaml"},{"type":"WEB","url":"https://huntr.dev/bounties/0cd30d71-1e32-4a0b-b4c3-faaa1907b541"}],"affected":[{"package":{"name":"octoprint","ecosystem":"PyPI","purl":"pkg:pypi/octoprint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.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.0","1.6.0rc1","1.6.0rc2","1.6.0rc3","1.6.1","1.7.0","1.7.0rc1","1.7.0rc2","1.7.0rc3","1.7.1","1.7.2","1.7.3","1.8.0rc1","1.8.0rc2","1.8.0rc3","1.8.0rc4","1.8.0rc5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-x7r7-wmj8-vv5g/GHSA-x7r7-wmj8-vv5g.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}