Vulnerability Details : CVE-2021-32857
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.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2021-32857
- cpe:2.3:a:agentejo:cockpit:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-32857
0.08%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 35 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-32857
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST | |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
GitHub, Inc. |
CWE ids for CVE-2021-32857
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2021-32857
-
https://github.com/agentejo/cockpit/blob/f7cd602bcc6134657ccfeb4e400b0050943dd243/assets/lib/uikit/js/components/htmleditor.js
cockpit/htmleditor.js at f7cd602bcc6134657ccfeb4e400b0050943dd243 · agentejo/cockpit · GitHubPatch;Third Party Advisory
-
https://securitylab.github.com/advisories/GHSL-2021-1035_Cockpit_Next/
GHSL-2021-1035: Cross-Site Scripting (XXS) in Cockpit Next - CVE-2021-32857 | GitHub Security LabExploit;Third Party Advisory
-
https://github.com/agentejo/cockpit/commit/0c6628cbff3e49bc317c97b03a4666b3a75f76cc
prevent session fixation attacks · agentejo/cockpit@0c6628c · GitHubPatch;Third Party Advisory
Jump to