CVE-2022-42114
Java vulnerability analysis and mitigation

Overview

A Cross-site scripting (XSS) vulnerability was discovered in the Role module's edit role assignees page in Liferay Portal 7.4.0 through 7.4.3.36, and Liferay DXP 7.4 before update 37. The vulnerability allows remote attackers to inject arbitrary web script or HTML via the _com_liferay_roles_admin_web_portlet_RolesAdminPortlet_name parameter (Liferay Security, NVD).

Technical details

The vulnerability has been assigned a CVSS score of 4.8 (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N). The issue specifically affects the Role module's edit role assignees page functionality, where input validation is insufficient for the _com_liferay_roles_admin_web_portlet_RolesAdminPortlet_name parameter (Liferay Security).

Impact

The vulnerability allows attackers to inject arbitrary web script or HTML into the application, potentially leading to cross-site scripting attacks. This could result in the execution of malicious scripts in users' browsers within the context of the affected site (NVD).

Exploitability

The vulnerability requires high privileges and user interaction to be exploited, as indicated by the CVSS metrics (PR:H/UI:R). The attack vector is network-based (AV:N) with low attack complexity (AC:L) (Liferay Security).

Mitigation and workarounds

The vulnerability has been fixed in Liferay Portal version 7.4.3.37 and Liferay DXP 7.4 update 37. Users are advised to upgrade to these or later versions to address the vulnerability (Liferay Security).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-10050HIGH8.7
  • Java logoJava
  • neo4j-5.26
NoYesAug 04, 2026
CVE-2026-48048HIGH7.5
  • Java logoJava
  • org.xwiki.platform:xwiki-platform-livetable-ui
NoYesAug 10, 2026
CVE-2026-56818MEDIUM6.5
  • Java logoJava
  • management-api-fips-5.0
NoYesAug 07, 2026
CVE-2026-48047MEDIUM5.9
  • Java logoJava
  • org.xwiki.platform:xwiki-platform-webjars-api
NoYesAug 07, 2026
CVE-2026-71497MEDIUM4.7
  • Java logoJava
  • apache-commons-codec
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management