Liferay Portal and Liferay DXP Vulnerable to Cross-Site Scripting (XSS)
Date: 2025-03
Affected: maven/com.liferay.portal:release.dxp.bom, maven/com.liferay.portal:release.dxp.bom, maven/com.liferay.portal:release.dxp.bom
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2025-2536
CWE: CWE-79

Cross-site scripting (XSS) vulnerability on Liferay Portal 7.4.3.82 through 7.4.3.128, and Liferay DXP 2024.Q3.0, 2024.Q2.0 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.12, 2023.Q4.0 through 2023.Q4.10, 2023.Q3.1 through 2023.Q3.10, 7.4 update 82 through update 92 in the Frontend JS module's layout-taglib/__liferay__/index.js allows remote attackers to inject arbitrary web script or HTML via toastData parameter


Mitigations:

Architectural layers (MAESTRO):