CVE-2020-28124: Cross Site Scripting (XSS) in LavaLite 5.8.0
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.49406%
CWE
Published
5/24/2022
Updated
7/6/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 |
---|---|---|---|
lavalite/cms | composer | <= 5.8.0 | 7.0.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from two key gaps: 1) Missing input sanitization when storing user-controlled data (address field), and 2) Lack of output encoding when displaying the address. The fix introduced a middleware (SanitizeInput
) that applies strip_tags
and htmlentities
to inputs, indicating previous absence of these safeguards. While exact pre-patch controller code isn't shown, the XSS reproduction steps and patch context strongly imply that user input handling methods in controllers were vulnerable due to unvalidated storage and unescaped rendering.