Miggo Logo

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

EPSS Score
0.58402%
Published
2/21/2024
Updated
1/28/2025
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
com.liferay.portal:release.portal.bommaven>= 7.4.3.8, <= 7.4.3.977.4.3.98
com.liferay.portal:release.dxp.bommaven>= 2023.Q3, < 2023.Q3.52023.Q3.5
com.liferay.portal:release.dxp.bommaven>= 7.4.13.u4, <= 7.4.13.u92

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot 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.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

R**l**t** *ross-sit* s*riptin* (XSS) vuln*r**ility in t** L*n*u*** Ov*rri** **it s*r**n in Li**r*y Port*l *.*.*.* t*rou** *.*.*.**, *n* Li**r*y *XP ****.Q* ***or* p*t** *, *n* *.* up**t* * t*rou** ** *llows r*mot* *tt**k*rs to inj**t *r*itr*ry w** s*

Reasoning

T** vuln*r**ility st*ms *rom improp*r **n*lin* o* t** '_*om_li**r*y_port*l_l*n*u***_ov*rri**_w**_int*rn*l_portl*t_PLOPortl*t_k*y' p*r*m*t*r. *) T** PLOPortl*t's r*n**r m*t*o* lik*ly r*tri*v*s *n* p*ss*s t** r*w p*r*m*t*r v*lu* to t** vi*w l*y*r wit*o