CVE-2023-42627
Liferay Portal and Liferay DXP Vulnerable to XSS in the Commerce Module
Also known as BIT-liferay-2023-42627, GHSA-qp68-5v39-r869
Mitigation
- Upgrade com.liferay.commerce:com.liferay.commerce.address.content.web to 4.0.35 or later.
Who should check
- Projects that depend on Maven package com.liferay.commerce:com.liferay.commerce.address.content.web (< 4.0.35)
- Projects that depend on Maven package com.liferay.portal:release.dxp.bom (>= 7.3.0, <= 7.3.10.u33)
- Anyone running Liferay DXP >= 7.3.10, <= 7.3.10.*; >= 7.4.13, <= 7.4.13.u91
- Anyone running Liferay Portal >= 7.3.5, <= 7.4.3.91
Vulnerability facts
- Affected
- com.liferay.commerce:com.liferay.commerce.address.content.web < 4.0.35; com.liferay.portal:release.dxp.bom >= 7.3.0, <= 7.3.10.u33
- Fixed in
- 4.0.35
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.78% chance of exploitation in 30 days (percentile 53, 2026-11-26)
- CWE
- CWE-79
- Modified
Description
Multiple stored cross-site scripting (XSS) vulnerabilities in the Commerce module in 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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven com.liferay.commerce:com.liferay.commerce.address.content.web | < 4.0.35 | 4.0.35 | osv |
| Maven com.liferay.portal:release.dxp.bom | >= 7.3.0, <= 7.3.10.u33 | — | osv |
| Liferay DXP | >= 7.3.10, <= 7.3.10.*; >= 7.4.13, <= 7.4.13.u91 | — | cvelist |
| Liferay Portal | >= 7.3.5, <= 7.4.3.91 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-42627. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-42627.md Affected: com.liferay.commerce:com.liferay.commerce.address.content.web < 4.0.35; com.liferay.portal:release.dxp.bom >= 7.3.0, <= 7.3.10.u33 Fixed in: 4.0.35 Steps: 1. Search this machine and project for com.liferay.commerce:com.liferay.commerce.address.content.web (Maven), com.liferay.portal:release.dxp.bom (Maven), Liferay DXP, Liferay Portal: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Exploits and PoCs
FAQ
Is CVE-2023-42627 being exploited?
There is no confirmed exploitation: CVE-2023-42627 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.78% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-42627?
Critical: CVSS 9.6 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2023-42627?
com.liferay.commerce:com.liferay.commerce.address.content.web < 4.0.35; com.liferay.portal:release.dxp.bom >= 7.3.0, <= 7.3.10.u33.
Is there a fix for CVE-2023-42627?
Yes. Fixed in 4.0.35. Upgrade com.liferay.commerce:com.liferay.commerce.address.content.web to 4.0.35 or later.
How do I check if I'm affected by CVE-2023-42627?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.