Moderate severityNVD Advisory· Published Sep 16, 2025· Updated Sep 17, 2025
CVE-2025-43804
CVE-2025-43804
Description
Cross-site scripting (XSS) vulnerability in Search widget in Liferay Portal 7.4.3.93 through 7.4.3.111, and Liferay DXP 2023.Q4.0, 2023.Q3.1 through 2023.Q3.4 allows remote attackers to inject arbitrary web script or HTML via the _com_liferay_portal_search_web_portlet_SearchPortlet_userId parameter.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.liferay:com.liferay.portal.searchMaven | < 8.0.93 | 8.0.93 |
Affected products
2- Liferay/DXPv5Range: 2023.Q3.1
Patches
1141f3fc8379eLPS-203828 portal-search-web: Escape attribute for filter value related to userId
1 file changed · +1 −1
modules/apps/portal-search/portal-search-web/src/main/resources/META-INF/resources/facets/view/users.jsp+1 −1 modified@@ -49,7 +49,7 @@ UserSearchFacetDisplayContext userSearchFacetDisplayContext = userSearchFacetDis %> <li class="facet-value"> - <a class="<%= bucketDisplayContext.isSelected() ? "facet-term-selected" : "facet-term-unselected" %>" data-value="<%= bucketDisplayContext.getFilterValue() %>" href="javascript:void(0);"> + <a class="<%= bucketDisplayContext.isSelected() ? "facet-term-selected" : "facet-term-unselected" %>" data-value="<%= HtmlUtil.escapeAttribute(bucketDisplayContext.getFilterValue()) %>" href="javascript:void(0);"> <%= HtmlUtil.escape(bucketDisplayContext.getBucketText()) %> <c:if test="<%= bucketDisplayContext.isFrequencyVisible() %>">
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-ccrc-5vp5-vp5jghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-43804ghsaADVISORY
- github.com/liferay/liferay-portal/commit/141f3fc8379e56831fae45a5b2647e86dab9d265ghsaWEB
- liferay.atlassian.net/browse/LPE-17892ghsaWEB
- liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43804ghsaWEB
News mentions
0No linked articles in our index yet.