GitHub Advisory Database
GHSA-m5c7-5gv3-hcpf
Liferay Portal 7.4.0 and Liferay DXP have a reflected cross-site scripting (XSS) vulnerability
Details
A reflected cross-site scripting (XSS) vulnerability in the Liferay Portal 7.4.0 through 7.4.3.132, and Liferay DXP 2025.Q1.0 through 2025.Q1.10, 2024.Q4.0 through 2024.Q4.7, 2024.Q3.1 through 2024.Q3.13, 2024.Q2.1 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.16 and 7.4 GA through update 92 allows a remote authenticated attacker to inject JavaScript code in the “first display label” field in the configuration of a custom sort widget. This malicious payload is then reflected and executed by clay button taglib when refreshing the page.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | com.liferay.portal:release.portal.bom | From 7.4.0 up to and including 7.4.3.132 |
| Maven | com.liferay.portal:release.dxp.bom | From 2024.q4.0 up to and including 2024.q4.7 |
| Maven | com.liferay.portal:release.dxp.bom | From 2024.q3.0 up to and including 2024.q3.13 |
| Maven | com.liferay.portal:release.dxp.bom | From 2024.q2.0 up to and including 2024.q2.13 |
| Maven | com.liferay.portal:release.dxp.bom | From 2024.q1.0 before 2024.q1.17 (fixed in 2024.q1.17) |
| Maven | com.liferay.portal:release.dxp.bom | From 2025.q1.0 before 2025.q1.11 (fixed in 2025.q1.11) |
| Maven | com.liferay.portal:release.dxp.bom | All versions up to and including 7.4.13.u92 |
| Maven | com.liferay:com.liferay.frontend.taglib.clay | All versions before 15.2.2 (fixed in 15.2.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-43734
- https://github.com/liferay/liferay-portal/commit/b4ca1bb0961cc1f230508e072c30815eabce062f
- https://github.com/liferay/liferay-portal
- https://liferay.atlassian.net/browse/LPE-18234
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43734