Moderate severityNVD Advisory· Published Sep 22, 2025· Updated Sep 22, 2025
CVE-2025-43807
CVE-2025-43807
Description
Stored cross-site scripting (XSS) vulnerability in the notifications widget in Liferay Portal 7.4.0 through 7.4.3.112, and Liferay DXP 2023.Q4.0 through 2023.Q4.8, 2023.Q3.1 through 2023.Q3.10, and 7.4 GA through update 92 allows remote attackers to inject arbitrary web script or HTML via a crafted payload injected into a publication’s “Name” text field.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.liferay:com.liferay.change.tracking.serviceMaven | < 3.0.91 | 3.0.91 |
Affected products
2- Liferay/DXPv5Range: 7.4.13
Patches
1aaf32ff25affLPD-15348 Escape publication name in notifications
2 files changed · +5 −2
modules/apps/change-tracking/change-tracking-service/src/main/java/com/liferay/change/tracking/internal/background/task/CTPublishBackgroundTaskExecutor.java+3 −1 modified@@ -42,6 +42,7 @@ import com.liferay.portal.kernel.transaction.Propagation; import com.liferay.portal.kernel.transaction.Transactional; import com.liferay.portal.kernel.util.GetterUtil; +import com.liferay.portal.kernel.util.HtmlUtil; import com.liferay.portal.kernel.util.MapUtil; import com.liferay.portal.kernel.workflow.WorkflowConstants; @@ -280,7 +281,8 @@ public String handleException( JSONUtil.put( "ctCollectionId", fromCTCollectionId ).put( - "ctCollectionName", fromCTCollection.getName() + "ctCollectionName", + HtmlUtil.escape(fromCTCollection.getName()) ).put( "notificationType", UserNotificationDefinition.
modules/apps/change-tracking/change-tracking-web/src/main/java/com/liferay/change/tracking/web/internal/notifications/PublicationInviteUserNotificationHandler.java+2 −1 modified@@ -24,6 +24,7 @@ import com.liferay.portal.kernel.service.ServiceContext; import com.liferay.portal.kernel.service.UserGroupRoleLocalService; import com.liferay.portal.kernel.service.UserNotificationEventLocalService; +import com.liferay.portal.kernel.util.HtmlUtil; import com.liferay.portal.kernel.util.Portal; import javax.portlet.PortletRequest; @@ -140,7 +141,7 @@ private String _getMessage( return _language.format( serviceContext.getLocale(), "x-has-invited-you-to-work-on-x-as-a-x", new Object[] { - userName, ctCollection.getName(), + userName, HtmlUtil.escape(ctCollection.getName()), _language.get( serviceContext.getLocale(), _getRoleLabel(roleValue)) },
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-jh9h-8xf2-25wjghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-43807ghsaADVISORY
- github.com/liferay/liferay-portal/commit/aaf32ff25affc0d63adc79abaedc9f565f033789ghsaWEB
- liferay.atlassian.net/browse/LPE-17923ghsaWEB
- liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43807ghsaWEB
News mentions
0No linked articles in our index yet.