Moderate severityNVD Advisory· Published Sep 10, 2025· Updated Sep 10, 2025
CVE-2025-43785
CVE-2025-43785
Description
Stored cross-site scripting (XSS) vulnerability in Liferay Portal 7.4.3.45 through 7.4.3.128, and Liferay DXP 2024 Q2.0 through 2024.Q2.9, 2024.Q1.1 through 2024.Q1.12, and 7.4 update 45 through update 92 allows remote attackers to execute an arbitrary web script or HTML in the My Workflow Tasks page.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.liferay.portal:release.portal.bomMaven | >= 7.4.3.45, < 7.4.3.129 | 7.4.3.129 |
com.liferay.portal:release.dxp.bomMaven | >= 2024.Q2.0, < 2024.Q3.0 | 2024.Q3.0 |
com.liferay.portal:release.dxp.bomMaven | >= 2024.Q1.1, < 2024.Q1.13 | 2024.Q1.13 |
com.liferay.portal:release.dxp.bomMaven | >= 7.4.13.u14, <= 7.4.13.u92 | — |
com.liferay:com.liferay.portal.workflow.task.webMaven | < 5.0.75 | 5.0.75 |
Affected products
2- Liferay/DXPv5Range: 7.4.13-u45
Patches
15f1a7c347c81LPD-32664 Escape user name
1 file changed · +2 −2
modules/apps/portal-workflow/portal-workflow-task-web/src/main/resources/META-INF/resources/view.jsp+2 −2 modified@@ -106,7 +106,7 @@ else { <liferay-ui:message key="<%= workflowTaskDisplayContext.getAssetType(workflowTask) %>" /> </span> <span class="author"> - <liferay-ui:message key="<%= workflowTask.getUserName() %>" /> + <liferay-ui:message key="<%= HtmlUtil.escape(workflowTask.getUserName()) %>" /> </span> <span class="task-name" id="<%= String.valueOf(workflowTask.getWorkflowTaskId()) %>"> <liferay-ui:message key="<%= workflowTask.getLabel(workflowTaskDisplayContext.getTaskContentLocale()) %>" /> @@ -162,7 +162,7 @@ else { <liferay-ui:search-container-column-text href="<%= rowURL %>" name="author" - value="<%= workflowTask.getUserName() %>" + value="<%= HtmlUtil.escape(workflowTask.getUserName()) %>" /> <liferay-ui:search-container-column-text
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-66x6-8jgv-qpfhghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-43785ghsaADVISORY
- github.com/liferay/liferay-portal/commit/5f1a7c347c81f05848f032a9e25cbc9abaab05ffghsaWEB
- liferay.atlassian.net/browse/LPE-18074ghsaWEB
- liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43785ghsaWEB
News mentions
0No linked articles in our index yet.