CVE-2022-1555:
Microweber vulnerable to cross-site scripting (XSS)
6.1
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
5/5/2022
Updated
2/1/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.15 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The commit diff shows the vulnerability was patched by adding xss_clean() to sanitize $productKeyword. The original code lacked output encoding when injecting this variable into the HTML placeholder attribute, making it susceptible to XSS. The direct echo statement in the Blade template without sanitization functions is the vulnerable point.