CVE-2025-43781: Liferay Portal is vulnerable to XSS attack through its search bar portlet
A reflected cross-site scripting (XSS) vulnerability in Liferay Portal 7.4.3.110 through 7.4.3.128, and Liferay DXP 2024.Q3.1 through 2024.Q3.8, 2024.Q2.0 through 2024.Q2.13 and 2024.Q1.1 through 2024.Q1.12 allows remote attackers to inject arbitrary web script or HTML via the URL in search bar portlet
Published Sep 9, 2025 · Updated Dec 20, 2025
Affected packages
com.liferay:com.liferay.portal.search.web
- Ecosystem
- Maven
- Affected
- >= 6.0.125, < 6.0.143
- Fixed in
- 6.0.143
- Check
mvn dependency:tree -Dincludes=com.liferay:com.liferay.portal.search.web
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A reflected cross-site scripting (XSS) vulnerability in Liferay Portal 7.4.3.110 through 7.4.3.128, and Liferay DXP 2024.Q3.1 through 2024.Q3.8, 2024.Q2.0 through 2024.Q2.13 and 2024.Q1.1 through 2024.Q1.12 allows remote attackers to inject arbitrary web script or HTML via the URL in search bar portlet
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-43781
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43781
- https://github.com/liferay/liferay-portal/commit/f6483b5cff5c07b562c52f9eec336b2ebc9eeacd
- https://liferay.atlassian.net/browse/LPE-18124
- https://github.com/advisories/GHSA-x5fw-8xgx-q6c9
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
