Medium severity · published Feb 20, 2023
CVE-2021-32857
Cockpit vulnerable to Cross-site Scripting
6.1
CVSS
0.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 53% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MI
microweber · microweber
0.12.2 through 0.12.2 · source: vendor
CO
Cockpit · Agentejo
through 0.12.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-32857
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-32857
Patch
https://github.com/agentejo/cockpit/blob/f7cd602bcc6134657ccfeb4e400b0050943dd243/assets/lib/uikit/js/components/htmleditor.js
Patch
https://github.com/agentejo/cockpit/commit/0c6628cbff3e49bc317c97b03a4666b3a75f76cc
Exploit
https://securitylab.github.com/advisories/GHSL-2021-1035_Cockpit_Next/
More from microweber
9.8
CVE-2023-1877
Command Injection in microweber/microweber
9.8
CVE-2022-2368
Authentication Bypass by Spoofing in microweber/microweber
9.8
CVE-2022-0895
Static Code Injection in GitHub repository microweber/microweber prior to 1.3
9.8
CVE-2020-23138
An unrestricted file upload vulnerability was discovered in the Microweber 1.1.18 admin account page
8.8
CVE-2023-49052
File Upload vulnerability in Microweber v.2.0.4 allows a remote attacker to execute arbitrary code via a crafted script to the file upload function in the created forms component
