CVE-2025-43734 Liferay Portal 7.4.0 and Liferay DXP have a reflected cross-site scripting (XSS) vulnerability

Medium 5.1 Published Updated

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.

PackageAffectedFixed in
com.liferay.portal:release.dxp.bom MavenAll versions to 7.4.13.u92None
com.liferay.portal:release.dxp.bom MavenAll versions to 7.4.13.u92None
com.liferay.portal:release.dxp.bom MavenFrom 2024.q1.02024.q1.17
com.liferay.portal:release.dxp.bom MavenFrom 2024.q1.02024.q1.17
com.liferay.portal:release.dxp.bom MavenFrom 2024.q2.0 to 2024.q2.13None
com.liferay.portal:release.dxp.bom MavenFrom 2024.q2.0 to 2024.q2.13None
10 more packages
com.liferay.portal:release.dxp.bom MavenFrom 2024.q3.0 to 2024.q3.13None
com.liferay.portal:release.dxp.bom MavenFrom 2024.q3.0 to 2024.q3.13None
com.liferay.portal:release.dxp.bom MavenFrom 2024.q4.0 to 2024.q4.7None
com.liferay.portal:release.dxp.bom MavenFrom 2024.q4.0 to 2024.q4.7None
com.liferay.portal:release.dxp.bom MavenFrom 2025.q1.02025.q1.11
com.liferay.portal:release.dxp.bom MavenFrom 2025.q1.02025.q1.11
com.liferay.portal:release.portal.bom MavenFrom 7.4.0 to 7.4.3.132None
com.liferay.portal:release.portal.bom MavenFrom 7.4.0 to 7.4.3.132None
com.liferay:com.liferay.frontend.taglib.clay MavenAll versions15.2.2
com.liferay:com.liferay.frontend.taglib.clay MavenAll versions15.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.

All Liferay Digital Experience Platform vulnerabilities

Sources

Also known as GHSA-m5c7-5gv3-hcpf.

Is CVE-2025-43734 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free