{"id":"CVE-2021-32857","aliases":["CVE-2021-32857"],"related":[],"kind":"vulnerability","state":"published","title":"Cockpit vulnerable to Cross-site Scripting","summary":"Cockpit is a content management system that allows addition of content management functionality to any site. In versions 0.12.2 and prior, bad HTML sanitization in `htmleditor.js` may lead to cross-site scripting (XSS) issues. There are no known patches for this issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Cockpit is a content management system that allows addition of content management functionality to any site. In versions 0.12.2 and prior, bad HTML sanitization in `htmleditor.js` may lead to cross-site scripting (XSS) issues. There are no known patches for this issue.","source":"cvelist"}],"published":"2023-02-20T00:00:00.000Z","modified":"2026-06-17T03:53:46.277Z","severity":{"scorer":"GitHub_M","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_M","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: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"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"0.12.2","lastAffected":"0.12.2","status":"affected"}],"vendor":"microweber","product":"microweber","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"0.12.2"}],"vendor":"agentejo","product":"cockpit","cpe":"cpe:2.3:a:agentejo:cockpit:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2021-1035_Cockpit_Next/","tags":["exploit","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/agentejo/cockpit/commit/0c6628cbff3e49bc317c97b03a4666b3a75f76cc","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/agentejo/cockpit/blob/f7cd602bcc6134657ccfeb4e400b0050943dd243/assets/lib/uikit/js/components/htmleditor.js","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-03-10T21:00:17.603Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-32857","url":"https://www.cve.org/CVERecord?id=CVE-2021-32857","licence":"CVE Terms of Use","modified":"2025-03-10T21:08:33.571Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-32857","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32857","licence":"Public domain","modified":"2026-06-17T03:53:46.277Z"}],"updatedAt":"2026-11-25T22:58:08.234Z","epss":{"score":0.00729,"percentile":0.5546,"date":"2026-12-01T12:00:22.000Z"}}