CVE-2025-4599 Cross-Site Scripting (XSS) Vulnerability in Fragment Preview Functionality

Description

The fragment preview functionality in Liferay Portal and Liferay DXP was found to be vulnerable to postMessage-based XSS because it allows a remote non-authenticated attacker to inject JavaScript into the fragment portlet URL.

Severity

2.0 (CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N)

Affected Version(s)

  • Liferay Portal 7.4.3.61 through 7.4.3.131
  • Liferay DXP 2024.Q4.1 through 2024.Q4.5
  • Liferay DXP 2024.Q3.1 through 2024.Q3.13
  • Liferay DXP 2024.Q2.0 throguh 2024.Q2.13
  • Liferay DXP 2024.Q1.1 through 2024.Q1.13
  • Liferay DXP 7.4 update 61 through update 92

Fixed Version(s)

  • Liferay Portal fixed on master branch
  • Liferay DXP 2024.Q1.14
  • Liferay DXP 2024.Q4.6
  • Liferay DXP 2025.Q1.0

Acknowledgments

This issue was reported by Gareth Catterall, AnchorSec security team

Publication date: Wed, 02 Apr 2025 17:50:00 +0000

Security advisories for Liferay's enterprise offerings (e.g., Liferay DXP) are only listed here since 2023. Historial advisories are availabe in the Help Center.