Moderate severityNVD Advisory· Published Aug 19, 2025· Updated Aug 19, 2025
CVE-2025-43738
CVE-2025-43738
Description
A reflected cross-site scripting (XSS) vulnerability in the Liferay Portal 7.4.0 through 7.4.3.132, and Liferay DXP 2025.Q2.0 through 2025.Q2.8, 2025.Q1.0 through 2025.Q1.15, 2024.Q4.0 through 2024.Q4.7, 2024.Q3.1 through 2024.Q3.13, 2024.Q2.1 through 2024.Q2.13 and 2024.Q1.1 through 2024.Q1.19 allows a remote authenticated user to inject JavaScript code via _com_liferay_expando_web_portlet_ExpandoPortlet_displayType parameter.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.liferay:com.liferay.expando.webMaven | <= 5.0.59 | — |
Affected products
2- Liferay/DXPv5Range: 2024.Q1.1
Patches
1acc477143b50LPD-61482 Apply HtmlUtil.escape to escape values for propertyDisplayType
1 file changed · +1 −1
modules/apps/expando/expando-web/src/main/resources/META-INF/resources/edit/expando.jsp+1 −1 modified@@ -138,7 +138,7 @@ else { <liferay-frontend:edit-form-body> <h2 class="sheet-title"> - <%= LanguageUtil.format(request, expandoColumn != null ? "edit-x" : "new-x", new Object[] {propertyDisplayType}) %> + <%= HtmlUtil.escape(LanguageUtil.format(request, expandoColumn != null ? "edit-x" : "new-x", new Object[] {propertyDisplayType})) %> </h2> <liferay-frontend:fieldset
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
5- github.com/advisories/GHSA-cwgh-r52j-xh6cghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-43738ghsaADVISORY
- github.com/liferay/liferay-portal/commit/acc477143b50de2138854548bc5bad06677e708aghsaWEB
- liferay.atlassian.net/browse/LPE-18290ghsaWEB
- liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43738ghsaWEB
News mentions
0No linked articles in our index yet.