CVE-2022-0278:
Cross-site Scripting in microweber
5.4
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
1/21/2022
Updated
2/3/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
microweber/microweber | composer | < 1.2.11 | 1.2.11 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from inline PHP code in 'userfiles/modules/admin/notifications/notif_form_entry.php' that directly outputs user-controlled data ($val1 and $val1_1) using print statements without proper escaping. While no named functions are involved, the lack of output sanitization (via htmlentities) in these template rendering lines allowed stored XSS. The patch added escaping to these print statements, confirming the vulnerability was in raw output handling rather than specific functions.