Home / Liferay / Portal / CVE-2023-37940
CVE-2023-37940: is it exploited, and which versions of Liferay Portal are affected and fixed?
CVE-2023-37940 is a cross-site scripting (XSS) vulnerability in Liferay Portal. 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, 16:09 UTC). Affected: com.liferay.portal:release.portal.bom from 7.0.0 before 7.4.3.88, com.liferay.portal:release.dxp.bom from 7.0 before 7.3.10.u30 and com.liferay.portal:release.dxp.bom from 7.4 before 7.4.13.u88 (GitHub advisory GHSA-px38-239g-x5mg). Fixed in 7.4.3.88, 7.3.10.u30 and 7.4.13.u88 (GitHub advisory GHSA-px38-239g-x5mg). Severity: Medium (4.8, CVSS 3.1, from Liferay).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:24 UTC.
What is CVE-2023-37940?
Cross-site scripting (XSS) vulnerability in the edit Service Access Policy page in Liferay Portal 7.0.0 through 7.4.3.87, and Liferay DXP 7.4 GA through update 87, 7.3 GA through update 29, and older unsupported versions allows remote attackers to inject arbitrary web script or HTML via a crafted payload injected into a service access policy's `Service Class` text field.
From the CVE record by Liferay, last updated December 17, 2024, 21:41 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Liferay | Portal | from 7.0.0 through 7.4.3.87 | |
| Liferay | DXP | from 7.0.10 through de-102 from 7.1.10 through dxp-28 from 7.2.10 through dxp-20 from 7.3.10 through 7.3.10-u29 from 7.4.13 through 7.4.13-u87 |
As the CVE record by Liferay states it, last updated December 17, 2024. 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.portal:release.portal.bom | >= 7.0.0, < 7.4.3.88 | 7.4.3.88 | GHSA-px38-239g-x5mg |
| Maven | com.liferay.portal:release.dxp.bom | >= 7.0, < 7.3.10.u30 | 7.3.10.u30 | GHSA-px38-239g-x5mg |
| Maven | com.liferay.portal:release.dxp.bom | >= 7.4, < 7.4.13.u88 | 7.4.13.u88 | GHSA-px38-239g-x5mg |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 18, 2024. Summary: Liferay Portal and Liferay DXP have Cross-site Scripting vulnerability in edit Service Access Policy page.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| liferay | liferay portal | from 7.0.0 before 7.4.3.88 | application |
| liferay | digital experience platform | from 7.0 before 7.3 | application |
| liferay | digital experience platform | 7.3 | application |
| liferay | digital experience platform | 7.4 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 06:08 UTC.
How severe is CVE-2023-37940?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N | Liferay |
| Medium 4.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/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-37940 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, December 17, 2024)
- EPSS
- 0.29% probability of exploitation activity in the next 30 days, percentile 23.7 (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?
Who found and reported it?
- milCERT AT (reporter)
- Abderrahmane BOUNHIDJA (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 11, 2023
- Published
- December 17, 2024, 21:30 UTC
- CVE record updated
- December 17, 2024, 21:41 UTC by Liferay
- NVD
- Analyzed, last modified June 17, 2026, 06:08 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:24 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Portal?
- 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-37940
Is CVE-2023-37940 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.29% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Liferay Portal are affected by CVE-2023-37940?
com.liferay.portal:release.portal.bom from 7.0.0 before 7.4.3.88, com.liferay.portal:release.dxp.bom from 7.0 before 7.3.10.u30 and com.liferay.portal:release.dxp.bom from 7.4 before 7.4.13.u88, per the GitHub advisory GHSA-px38-239g-x5mg. The tables above give every range the sources list.
Which version fixes CVE-2023-37940?
7.4.3.88, 7.3.10.u30 and 7.4.13.u88, per the GitHub advisory GHSA-px38-239g-x5mg. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-37940?
Medium (4.8, CVSS 3.1, from Liferay). The severity table above shows each score with its source.
Where is the official record of CVE-2023-37940?
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.