# CVE-2023-37940: Liferay Portal and Liferay DXP have Cross-site Scripting vulnerability in edit Service Access Policy page

- Severity: Medium 4.8 (CVSS:3.1, scored by Liferay) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- 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): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2024-12-17T21:30:39.730Z
- Modified: 2026-06-17T06:08:56.990Z
- Also known as: GHSA-px38-239g-x5mg
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Liferay

## Description

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.

(As written by CVE List.)

## Affected

- Liferay Portal: from 7.0.0 up to 7.4.3.87
- Liferay DXP: from 7.0.10 up to de-102; from 7.1.10 up to dxp-28; from 7.2.10 up to dxp-20; from 7.3.10 up to 7.3.10-u29; from 7.4.13 up to 7.4.13-u87
- com.liferay.portal:release.portal.bom (Maven): from 7.0.0 before 7.4.3.88
- com.liferay.portal:release.dxp.bom (Maven): from 7.0 before 7.3.10.u30; from 7.4 before 7.4.13.u88
- liferay liferay_portal: from 7.0.0 before 7.4.3.88
- liferay digital_experience_platform: from 7.0 before 7.3; 7.3; 7.4

## Every score

- Liferay: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2023-37940> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-37940> (advisory)
- <https://github.com/liferay/liferay-portal> (package)

## Sources

- CVE List: [CVE-2023-37940](https://www.cve.org/CVERecord?id=CVE-2023-37940), CVE Terms of Use, modified 2024-12-17
- GitHub Advisory Database: [GHSA-px38-239g-x5mg](https://github.com/advisories/GHSA-px38-239g-x5mg), CC-BY-4.0, modified 2024-12-18
- NVD: [CVE-2023-37940](https://nvd.nist.gov/vuln/detail/CVE-2023-37940), Public domain, modified 2026-06-17

---

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