Liferay Portal is vulnerable to XSS attack through its search bar portlet
Date: 2025-09
Affected: maven/com.liferay:com.liferay.portal.search.web
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2025-43781
CWE: CWE-79

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


Mitigations:

Architectural layers (MAESTRO):