CVE-2023-42496
Java vulnerability analysis and mitigation

Overview

A reflected cross-site scripting (XSS) vulnerability was discovered in Liferay Portal and Liferay DXP, identified as CVE-2023-42496. The vulnerability affects Liferay Portal versions 7.3.3 through 7.4.3.97, and Liferay DXP 2023.Q3 before patch 6, 7.4 GA through update 92, and 7.3 before update 34. The issue was reported by Amin ACHOUR and was publicly disclosed on February 21, 2024 (Liferay Advisory).

Technical details

The vulnerability exists on the add assignees to a role page where remote attackers can inject arbitrary web script or HTML through the _com_liferay_roles_admin_web_portlet_RolesAdminPortlet_tabs2 parameter. The vulnerability has received a CVSS v3.1 base score of 9.6 CRITICAL (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H) from Liferay Inc., while NIST assigned a score of 6.1 MEDIUM (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N). The vulnerability is classified as CWE-79: Improper Neutralization of Input During Web Page Generation (NVD).

Impact

If exploited, this vulnerability allows attackers to execute arbitrary web scripts or HTML in the context of the targeted user's browser session. Given the CVSS scoring, the potential impact includes high levels of confidentiality and integrity compromise when successfully exploited (Liferay Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Liferay Portal version 7.4.3.98, Liferay DXP 2023.Q3.6, and Liferay DXP 7.3 update 34. Users are advised to upgrade to these or later versions to mitigate the vulnerability (Liferay Advisory).

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-2025-68931HIGH8.7
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-68703HIGH8.7
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-68704HIGH8.2
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-66169MEDIUM6.9
  • JavaJava
  • org.apache.camel:camel-neo4j
NoYesJan 14, 2026
CVE-2025-68925MEDIUM6.9
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 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