CVE-2022-42119
Java vulnerability analysis and mitigation

Overview

Cross-site scripting (XSS) vulnerability was identified in Liferay Portal's Commerce module, specifically affecting versions 7.3.5 through 7.4.2. The vulnerability was assigned identifier CVE-2022-42119 and was discovered by Duy Huynh, with publication date of October 19, 2022 (Liferay Security).

Technical details

The vulnerability exists in the Commerce module's edit catalog page, where remote attackers can inject arbitrary web script or HTML through the '_com_liferay_commerce_catalog_web_internal_portlet_CommerceCatalogsPortlet_externalReferenceCode' parameter. The vulnerability has been assigned a CVSS v3.1 score of 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) (Liferay Security).

Impact

The vulnerability allows attackers to perform cross-site scripting attacks, potentially leading to the injection of malicious web scripts or HTML content in the context of the affected Commerce module. This could result in compromised user sessions and unauthorized access to sensitive information (Liferay Security).

Mitigation and workarounds

For Liferay Portal 7.4.x users, the vulnerability has been fixed in version 7.4.3.4. Users of Liferay Portal 7.3.x are advised to upgrade to Liferay Portal 7.4 as there is no fix available for the 7.3 version line (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-2025-65091CRITICAL10
  • JavaJava
  • org.xwiki.contrib:macro-fullcalendar-pom
NoYesJan 10, 2026
CVE-2025-70974CRITICAL10
  • JavaJava
  • com.alibaba:fastjson
NoYesJan 09, 2026
CVE-2026-22244HIGH8.5
  • JavaJava
  • org.open-metadata:platform
NoYesJan 08, 2026
CVE-2025-65090MEDIUM5.3
  • JavaJava
  • org.xwiki.contrib:macro-fullcalendar-pom
NoYesJan 10, 2026
CVE-2026-0707MEDIUM5.3
  • JavaJava
  • org.keycloak:keycloak-parent
NoNoJan 08, 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