CVE-2025-62248
Description
A reflected cross-site scripting (XSS) vulnerability, resulting from a regression, has been identified in Liferay Portal 7.4.0 through 7.4.3.132, and Liferay DXP 2025.Q2.0 through 2025.Q2.9, 2025.Q1.0 through 2025.Q1.16, 2024.Q4.0 through 2024.Q4.7, 2024.Q3.1 through 2024.Q3.13, 2024.Q2.1 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.19 allows a remote, authenticated attacker to inject and execute JavaScript code via the _com_liferay_dynamic_data_mapping_web_portlet_DDMPortlet_definition parameter. The malicious payload is executed within the victim's browser when they access a URL that includes the crafted parameter.
How to fix
- liferay digital_experience_platform2024.q1.20 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| liferay liferay_portal | 7.4.0 ≤ v ≤ 7.4.3.132 | — |
| liferay digital_experience_platform | 2024.q1.1 ≤ v < 2024.q1.20, 2024.q2.0 ≤ v ≤ 2024.q2.13, 2024.q3.1 ≤ v ≤ 2024.q3.13, 2024.q4.0 ≤ v ≤ 2024.q4.7 | 2024.q1.20 |
| com.liferay:com.liferay.dynamic.data.mapping.webMaven | v ≤ 5.0.122 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.