Home / Liferay / DXP / CVE-2023-42627
CVE-2023-42627: is it exploited, and which versions of Liferay DXP are affected and fixed?
CVE-2023-42627 is a cross-site scripting (XSS) vulnerability in Liferay DXP. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: com.liferay.commerce:com.liferay.commerce.address.content.web before 4.0.35, com.liferay.portal:release.dxp.bom through 7.3.10.u33 and com.liferay.portal:release.dxp.bom through 7.4.13.u92 (GitHub advisory GHSA-qp68-5v39-r869). Fixed in 4.0.35 (GitHub advisory GHSA-qp68-5v39-r869). Severity: Critical (9.6, CVSS 3.1, from Liferay).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 28, 2026, 18:57 UTC and NVD November 19, 2026, 07:35 UTC.
What is CVE-2023-42627?
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.
From the CVE record by Liferay, last updated June 12, 2025, 15:09 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Liferay | DXP | every 7.3.10 version from 7.4.13 through 7.4.13.u91 | |
| Liferay | Portal | from 7.3.5 through 7.4.3.91 |
As the CVE record by Liferay states it, last updated June 12, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | com.liferay.commerce:com.liferay.commerce.address.content.web | < 4.0.35 | 4.0.35 | GHSA-qp68-5v39-r869 |
| Maven | com.liferay.portal:release.dxp.bom | >= 7.3.0, <= 7.3.10.u33 | none listed | GHSA-qp68-5v39-r869 |
| Maven | com.liferay.portal:release.dxp.bom | >= 7.4.0, <= 7.4.13.u92 | none listed | GHSA-qp68-5v39-r869 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 29, 2025. Summary: Liferay Portal and Liferay DXP Vulnerable to XSS in the Commerce Module.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| liferay | digital experience platform | 7.3 | application |
| liferay | digital experience platform | 7.4 | application |
| liferay | liferay portal | from 7.3.5 before 7.4.3.92 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:24 UTC.
How severe is CVE-2023-42627?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | Liferay |
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-42627 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, January 2, 2024)
- EPSS
- 2.79% probability of exploitation activity in the next 30 days, percentile 86.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2023-42627 vendor-advisory
- https://www.pentagrid.ch/en/blog/stored-cross-site-scripting-vulnerabilities-in-liferay-portal/ third-party-advisory, exploit
Who found and reported it?
- Michael Oelke (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 12, 2023
- Published
- October 17, 2023, 12:08 UTC
- CVE record updated
- June 12, 2025, 15:09 UTC by Liferay
- NVD
- Modified, last modified June 17, 2026, 06:24 UTC
- Last checked
- CVE list November 28, 2026, 18:57 UTC; NVD November 19, 2026, 07:35 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect DXP?
- Nov 1, 2025CVE-2025-62275 Liferay Portal: incorrect authorization
- Oct 31, 2025CVE-2025-62276 Liferay Portal: use of Web Browser Cache Containing Sensitive Information
- Oct 31, 2025CVE-2025-62267 Liferay Portal: cross-site scripting (XSS)
- Oct 31, 2025CVE-2025-62264 Liferay Portal: cross-site scripting (XSS)
- Oct 30, 2025CVE-2025-62265 Liferay Portal: cross-site scripting (XSS)
- Oct 30, 2025CVE-2025-62266 Liferay Portal: open redirect
- Oct 29, 2025CVE-2025-62257 Liferay Portal: no limit on login attempts (brute force)
- Oct 27, 2025CVE-2025-62258 Liferay Portal: cross-site request forgery (CSRF)
Questions about CVE-2023-42627
Is CVE-2023-42627 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 2.79% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Liferay DXP are affected by CVE-2023-42627?
com.liferay.commerce:com.liferay.commerce.address.content.web before 4.0.35, com.liferay.portal:release.dxp.bom through 7.3.10.u33 and com.liferay.portal:release.dxp.bom through 7.4.13.u92, per the GitHub advisory GHSA-qp68-5v39-r869. The tables above give every range the sources list.
Which version fixes CVE-2023-42627?
4.0.35, per the GitHub advisory GHSA-qp68-5v39-r869. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-42627?
Critical (9.6, CVSS 3.1, from Liferay). The severity table above shows each score with its source.
Where is the official record of CVE-2023-42627?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.