GHSA-qp68-5v39-r869
Liferay Portal and Liferay DXP Vulnerable to XSS in the Commerce Module
Quick fix
GHSA-qp68-5v39-r869 — com.liferay.commerce:com.liferay.commerce.address.content.web: upgrade to the fixed version with the command below.
# pom.xml: bump <version>4.0.35</version> for com.liferay.commerce:com.liferay.commerce.address.content.webDetails
Multiple stored cross-site scripting (XSS) vulnerabilities in the Commerce module before 4.0.35 from Liferay Portal (7.3.5 through 7.4.3.91), and Liferay DXP 7.3 update 33 and earlier, and 7.4 before update 92 allow remote attackers to inject arbitrary web script or HTML via a crafted payload injected into a (1) Shipping Name, (2) Shipping Phone Number, (3) Shipping Address, (4) Shipping Address 2, (5) Shipping Address 3, (6) Shipping Zip, (7) Shipping City, (8) Shipping Region (9), Shipping Country, (10) Billing Name, (11) Billing Phone Number, (12) Billing Address, (13) Billing Address 2, (14) Billing Address 3, (15) Billing Zip, (16) Billing City, (17) Billing Region, (18) Billing Country, or (19) Region Code.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 4.0.35# pom.xml: bump <version>4.0.35</version> for com.liferay.commerce:com.liferay.commerce.address.content.web7.3.0No fixed version published yet for com.liferay.portal:release.dxp.bom (maven). Pin to a known-safe version or switch to an alternative.
7.4.0No fixed version published yet for com.liferay.portal:release.dxp.bom (maven). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-42627[ADVISORY]
- https://github.com/liferay/liferay-portal[PACKAGE]
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2023-42627[WEB]
- https://www.pentagrid.ch/en/blog/stored-cross-site-scripting-vulnerabilities-in-liferay-portal[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.address.content.web"]}'