CVE-2022-2174:
Cross-site Scripting in Microweber
6.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.94662%
CWE
Published
6/23/2022
Updated
1/27/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.18 | 1.2.18 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The patch adds xss_clean() sanitization to $_GET['autosize'] and $_GET['type'], and adds isset() checks for $params['id'] usage. This indicates three vulnerable patterns: 1) Unsanitized $_GET parameters reflected in HTML/output, 2) Direct interpolation of parameters into JavaScript contexts, and 3) Unvalidated $params['id'] usage in DOM attributes. The vulnerability stems from missing input validation and output encoding when handling these user-controllable parameters.