CVE-2025-43734 Liferay Portal 7.4.0 and Liferay DXP have a reflected cross-site scripting (XSS) vulnerability
An authenticated attacker can inject JavaScript into a custom sort widget configuration, leading to reflected XSS execution in Liferay Portal.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-43734?
CVE-2025-43734 is a medium-severity cross-site scripting vulnerability in Liferay Digital Experience Platform, published on 12 Aug 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2025-43734?
16 open source packages ship an affected version, including com.liferay.portal:release.dxp.bom, com.liferay.portal:release.portal.bom and com.liferay:com.liferay.frontend.taglib.clay. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
com.liferay.portal:release.dxp.bom Maven | All versions to 7.4.13.u92 | None |
com.liferay.portal:release.dxp.bom Maven | All versions to 7.4.13.u92 | None |
com.liferay.portal:release.dxp.bom Maven | From 2024.q1.0 | 2024.q1.17 |
com.liferay.portal:release.dxp.bom Maven | From 2024.q1.0 | 2024.q1.17 |
com.liferay.portal:release.dxp.bom Maven | From 2024.q2.0 to 2024.q2.13 | None |
com.liferay.portal:release.dxp.bom Maven | From 2024.q2.0 to 2024.q2.13 | None |
10 more packages
com.liferay.portal:release.dxp.bom Maven | From 2024.q3.0 to 2024.q3.13 | None |
com.liferay.portal:release.dxp.bom Maven | From 2024.q3.0 to 2024.q3.13 | None |
com.liferay.portal:release.dxp.bom Maven | From 2024.q4.0 to 2024.q4.7 | None |
com.liferay.portal:release.dxp.bom Maven | From 2024.q4.0 to 2024.q4.7 | None |
com.liferay.portal:release.dxp.bom Maven | From 2025.q1.0 | 2025.q1.11 |
com.liferay.portal:release.dxp.bom Maven | From 2025.q1.0 | 2025.q1.11 |
com.liferay.portal:release.portal.bom Maven | From 7.4.0 to 7.4.3.132 | None |
com.liferay.portal:release.portal.bom Maven | From 7.4.0 to 7.4.3.132 | None |
com.liferay:com.liferay.frontend.taglib.clay Maven | All versions | 15.2.2 |
com.liferay:com.liferay.frontend.taglib.clay Maven | All versions | 15.2.2 |
Products include Liferay Digital Experience Platform, Liferay Liferay Portal.
How do I fix CVE-2025-43734?
Upgrade com.liferay.portal:release.dxp.bom to a fixed version for your release line: 2024.q1.17 or 2025.q1.11.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-43734 being exploited?
There is no known exploitation of CVE-2025-43734 in the wild and no public exploit code.
Other vulnerabilities in Liferay Digital Experience Platform
- CVE-2024-8980 Liferay Portal and Liferay DXP Vulnerable to CSRF in the Script Console
- CVE-2023-42496 Liferay Portal and Liferay DXP vulnerable to reflected Cross-site Scripting
- CVE-2023-42498 Liferay Portal Language Override edit screen and Liferay DXP vulnerable to reflected Cross-site Scripting
- CVE-2024-25147 Liferay Portal and Liferay DXP vulnerable to Cross-site Scripting
- CVE-2024-26269 Liferay Portal Frontend JS module's portlet.js and Liferay DXP vulnerable to Cross-site Scripting
Sources
Also known as GHSA-m5c7-5gv3-hcpf.