CVE-2021-32857
6.1medium
Cockpit vulnerable to Cross-site Scripting
- Severity
- 6.1medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.73% (higher than 55% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| microweber microweber | from 0.12.2 up to 0.12.2 | CVE List |
| agentejo cockpit | up to 0.12.2 | NVD |
All scores
| GitHub_M | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
| https://securitylab.github.com/advisories/GHSL-2021-1035_Cockpit_Next/ | exploit, third-party-advisory | |
| https://github.com/agentejo/cockpit/commit/0c6628cbff3e49bc317c97b03a4666b3a75f76cc | patch, third-party-advisory | |
| https://github.com/agentejo/cockpit/blob/f7cd602bcc6134657ccfeb4e400b0050943dd243/assets/lib/uikit/js/components/htmleditor.js | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32857 changed 2025-03-10 | CVE Terms of Use |
| NVD | CVE-2021-32857 changed 2026-06-17 | Public domain |