# CVE-2023-42627: Liferay Portal and Liferay DXP Vulnerable to XSS in the Commerce Module

- Severity: Critical 9.6 (CVSS:3.1, scored by Liferay) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.79%, higher than 86% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-10-17T12:08:22.684Z
- Modified: 2026-06-17T06:24:07.800Z
- Also known as: GHSA-qp68-5v39-r869, BIT-LIFERAY-2023-42627
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Liferay

## 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.

(As written by CVE List.)

## Affected

- Liferay DXP: from 7.3.10 up to 7.3.10.*; from 7.4.13 up to 7.4.13.u91
- Liferay Portal: from 7.3.5 up to 7.4.3.91
- com.liferay.commerce:com.liferay.commerce.address.content.web (Maven): before 4.0.35
- com.liferay.portal:release.dxp.bom (Maven): from 7.3.0 up to 7.3.10.u33; from 7.4.0 up to 7.4.13.u92
- liferay digital_experience_platform: 7.3; 7.4
- liferay liferay_portal: from 7.3.5 before 7.4.3.92
- liferay (Bitnami): from 7.3.0 up to 7.3.0; from 7.4.0 up to 7.4.0; from 7.3-fix.0 up to 7.3-fix.0; from 7.3-update14.0 up to 7.3-update14.0; from 7.4-update1.0 up to 7.4-update1.0; from 7.4-update21.0 up to 7.4-update21.0; from 7.4-update34.0 up to 7.4-update34.0; from 7.4-update36.0 up to 7.4-update36.0; from 7.4-update41.0 up to 7.4-update41.0; from 7.4-update48.0 up to 7.4-update48.0; from 7.4-update50.0 up to 7.4-update50.0; from 7.4-update52.0 up to 7.4-update52.0; and 9 more

## Every score

- Liferay: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://www.pentagrid.ch/en/blog/stored-cross-site-scripting-vulnerabilities-in-liferay-portal/> (exploit, third-party-advisory, web)
- <https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2023-42627> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-42627> (advisory)
- <https://github.com/liferay/liferay-portal> (package)
- <https://www.pentagrid.ch/en/blog/stored-cross-site-scripting-vulnerabilities-in-liferay-portal> (web)

## Sources

- CVE List: [CVE-2023-42627](https://www.cve.org/CVERecord?id=CVE-2023-42627), CVE Terms of Use, modified 2025-06-12
- GitHub Advisory Database: [GHSA-qp68-5v39-r869](https://github.com/advisories/GHSA-qp68-5v39-r869), CC-BY-4.0, modified 2025-07-29
- NVD: [CVE-2023-42627](https://nvd.nist.gov/vuln/detail/CVE-2023-42627), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-LIFERAY-2023-42627](https://osv.dev/vulnerability/BIT-LIFERAY-2023-42627), Apache-2.0, modified 2025-07-29

---

Page: https://cve.day/CVE-2023-42627 · Whole record: https://cve.day/CVE-2023-42627.json · Rebuilt by cve.day 2026-11-25T22:58:28.853Z
