MEDIUM5.4
GHSA-wjfm-qxg2-q679
Liferay Portal and Liferay DXP Vulnerable to XSS via the Commerce Module
Quick fix
GHSA-wjfm-qxg2-q679 — com.liferay.commerce:com.liferay.commerce.catalog.web: upgrade to the fixed version with the command below.
# pom.xml: bump <version>4.0.8</version> for com.liferay.commerce:com.liferay.commerce.catalog.webDetails
Certain Liferay products are vulnerable to Cross Site Scripting (XSS) via the Commerce module. This affects the Commerce module before 4.0.8 from Liferay Portal (7.3.5 through 7.4.2) and Liferay DXP 7.3 before update 8.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/com.liferay.commerce:com.liferay.commerce.catalog.web
Introduced in:
0Fixed in: 4.0.8Fix
# pom.xml: bump <version>4.0.8</version> for com.liferay.commerce:com.liferay.commerce.catalog.webMaven/com.liferay.portal:release.dxp.bom
Introduced in:
7.3.0Fixed in: 7.3.10.u8Fix
# pom.xml: bump <version>7.3.10.u8</version> for com.liferay.portal:release.dxp.bomReferences
- https://nvd.nist.gov/vuln/detail/CVE-2022-42119[ADVISORY]
- https://github.com/liferay/liferay-portal/commit/2e02110747dd5cccb978623545bfa1f3ad0a5602[WEB]
- https://github.com/liferay/liferay-portal[PACKAGE]
- https://issues.liferay.com/browse/LPE-17632[WEB]
- https://web.archive.org/web/20221115040019/https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42119[WEB]
- http://liferay.com[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/com.liferay.commerce/com.liferay.commerce.catalog.web"]}'