CVE-2023-42498:
Liferay Portal Language Override edit screen and Liferay DXP vulnerable to reflected Cross-site Scripting
9.7
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.58402%
CWE
Published
2/21/2024
Updated
1/28/2025
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
com.liferay.portal:release.portal.bom | maven | >= 7.4.3.8, <= 7.4.3.97 | 7.4.3.98 |
com.liferay.portal:release.dxp.bom | maven | >= 2023.Q3, < 2023.Q3.5 | 2023.Q3.5 |
com.liferay.portal:release.dxp.bom | maven | >= 7.4.13.u4, <= 7.4.13.u92 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper handling of the '_com_liferay_portal_language_override_web_internal_portlet_PLOPortlet_key' parameter. 1) The PLOPortlet's render method likely retrieves and passes the raw parameter value to the view layer without sanitization. 2) The JSP view then directly embeds this unescaped value into the HTML response. This two-step failure (lack of input validation in controller, lack of output encoding in view) creates the XSS vector. The confidence is high due to the specific parameter name matching Liferay's portlet namespace conventions and the reflected XSS pattern requiring both controller and view layer vulnerabilities.