CVE-2025-2536: XSS
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
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/com.liferay.portal:release.dxp.bomto a version that resolves this vulnerability.Fixed in 2024.Q3.1 - Upgrade
Upgrade
maven/com.liferay.portal:release.dxp.bomto a version that resolves this vulnerability.Fixed in 2024.Q4.0 - Upgrade
Upgrade
maven/com.liferay.portal:release.dxp.bomto a version that resolves this vulnerability.Fixed in 2024.Q1.13 - Upgrade
Upgrade
maven/com.liferay.portal:release.portal.bomto a version that resolves this vulnerability.Fixed in 7.4.3.129 - Upgrade
Upgrade
Liferay Portal Frontend JS module layout-taglib/__liferay__/index.jsto a version that resolves this vulnerability.Fixed in 7.4.3.82 through 7.4.3.128 - Upgrade
Upgrade
Liferay DXPto a version that resolves this vulnerability.Fixed in 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
Event History
Frequently Asked Questions
What is the severity of CVE-2025-2536?
CVE-2025-2536 is classified as a high-severity cross-site scripting (XSS) vulnerability.
How do I fix CVE-2025-2536?
To fix CVE-2025-2536, upgrade Liferay Portal to version 7.4.3.129 or later, and Liferay DXP to the latest available version.
Which versions are affected by CVE-2025-2536?
CVE-2025-2536 affects Liferay Portal versions 7.4.3.82 through 7.4.3.128 and Liferay DXP versions from 2023.Q3.1 to 2024.Q2.13.
What type of vulnerability is CVE-2025-2536?
CVE-2025-2536 is a cross-site scripting (XSS) vulnerability that can allow attackers to inject malicious scripts.
Can CVE-2025-2536 be exploited remotely?
Yes, CVE-2025-2536 can be exploited remotely by an attacker to execute arbitrary scripts in the context of the user’s session.