CVE-2025-43804: Liferay search widget vulnerable to Cross-site Scripting
There is a Cross-site scripting (XSS) vulnerability in Liferay Portal's Search widget . Versions 7.4.3.93 through 7.4.3.111, and Liferay DXP 2023.Q4.0, 2023.Q3.1 through 2023.Q3.4 allow remote attackers to inject arbitrary web scripts or HTML via the comliferayportalsearchwebportletSearchPortletuserId parameter.
Published Sep 17, 2025 · Updated Nov 7, 2025
Affected packages
com.liferay:com.liferay.portal.search
- Ecosystem
- Maven
- Affected
- < 8.0.93
- Fixed in
- 8.0.93
- Check
mvn dependency:tree -Dincludes=com.liferay:com.liferay.portal.search
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
There is a Cross-site scripting (XSS) vulnerability in Liferay Portal's Search widget . Versions 7.4.3.93 through 7.4.3.111, and Liferay DXP 2023.Q4.0, 2023.Q3.1 through 2023.Q3.4 allow remote attackers to inject arbitrary web scripts or HTML via the _com_liferay_portal_search_web_portlet_SearchPortlet_userId parameter.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-43804
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43804
- https://github.com/liferay/liferay-portal/commit/141f3fc8379e56831fae45a5b2647e86dab9d265
- https://liferay.atlassian.net/browse/LPE-17892
- https://github.com/advisories/GHSA-ccrc-5vp5-vp5j
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
