medium5.3
CVE-2025-43781
Liferay Portal is vulnerable to XSS attack through its search bar portlet
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | com.liferay:com.liferay.portal.search.web | >= 6.0.125, < 6.0.143 | 6.0.143 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Liferay | Digital Experience Platform | from 2024.Q1.1 before 2024.Q1.13 from 2024.q2.0 through 2024.q2.13 from 2024.Q3.0 before 2024.Q3.9 |
| Liferay | Liferay Portal | from 7.4.0 before 7.4.3.129 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43781
- https://github.com/advisories/GHSA-x5fw-8xgx-q6c9
- https://nvd.nist.gov/vuln/detail/CVE-2025-43781
- https://github.com/liferay/liferay-portal/commit/f6483b5cff5c07b562c52f9eec336b2ebc9eeacd
- https://liferay.atlassian.net/browse/LPE-18124