CVE-2021-32856:
Microweber Cross-site Scripting vulnerability
6.1
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
2/21/2023
Updated
2/22/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
microweber/microweber | composer | <= 1.2.12 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The commit diff shows the vulnerability exists in the save_from_live_edit method where user-controlled HTML input ($the_field_data['html']) was processed with only make_tags sanitization. The security advisory explicitly states this insufficient sanitization enables copy-paste XSS. The added AntiXSS::xss_clean in the patch confirms the original function's vulnerability. The function's direct handling of user input from the WYSIWYG editor matches the attack vector described in the CVE.