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
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.liferay:com.liferay.portal.search.web | >= 6.0.125, < 6.0.143 | 6.0.143 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-43781
- https://github.com/liferay/liferay-portal/commit/f6483b5cff5c07b562c52f9eec336b2ebc9eeacd
- https://github.com/liferay/liferay-portal
- https://liferay.atlassian.net/browse/LPE-18124
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43781
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N- Weakness (CWE)
CWE-79- Platform
- Java / Kotlin (Maven)
- Package
com.liferay:com.liferay.portal.search.web- Disclosed
- 09.09.2025
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-x5fw-8xgx-q6c9 - CC BY 4.0
Vulnerability history: com.liferay:com.liferay.portal.search.web
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 5
- First → latest
- 05.2022 09.2025
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Medium 5
Disclosures per year
- 2022: 4
- 2023: 0
- 2024: 0
- 2025: 1
- 2026: 0
-
Liferay Portal is vulnerable to XSS attack through its search bar portlet this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.