{ "schema_version": "1.4.0", "id": "GHSA-8c8x-phvc-5p9w", "modified": "2023-03-02T18:30:30Z", "published": "2023-02-21T15:30:23Z", "aliases": [ "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" } ], "affected": [], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32857" }, { "type": "WEB", "url": "https://github.com/agentejo/cockpit/commit/0c6628cbff3e49bc317c97b03a4666b3a75f76cc" }, { "type": "WEB", "url": "https://github.com/agentejo/cockpit/blob/f7cd602bcc6134657ccfeb4e400b0050943dd243/assets/lib/uikit/js/components/htmleditor.js" }, { "type": "ADVISORY", "url": "https://securitylab.github.com/advisories/GHSL-2021-1035_Cockpit_Next" } ], "database_specific": { "cwe_ids": [ "CWE-79" ], "severity": "MODERATE", "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2023-02-21T15:15:00Z" } }