{"id":"CVE-2021-32857","details":"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.","modified":"2026-05-17T11:55:13.277140582Z","published":"2023-02-21T15:15:11.630Z","database_specific":{},"references":[{"type":"FIX","url":"https://github.com/agentejo/cockpit/blob/f7cd602bcc6134657ccfeb4e400b0050943dd243/assets/lib/uikit/js/components/htmleditor.js"},{"type":"FIX","url":"https://github.com/agentejo/cockpit/commit/0c6628cbff3e49bc317c97b03a4666b3a75f76cc"},{"type":"EVIDENCE","url":"https://securitylab.github.com/advisories/GHSL-2021-1035_Cockpit_Next/"}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}