CVE-2024-25609
Liferay Portal and Liferay DXP's HtmlUtil.escapeRedirect Can Be Circumvented via Two Forward Slashes
Also known as GHSA-3qq5-wcrx-4h8r
Mitigation
- Upgrade com.liferay.portal:release.portal.bom to 7.4.3.13-ga13 or later.
- Upgrade com.liferay.portal:release.dxp.bom to 7.4.13.u9 or later.
Who should check
- Projects that depend on Maven package com.liferay.portal:release.portal.bom (>= 7.2.0, < 7.4.3.13-ga13)
- Projects that depend on Maven package com.liferay.portal:release.dxp.bom (>= 7.2.10.fp15, <= 7.2.10.fp18)
- Anyone running Liferay Portal >= 7.2.0, <= 7.4.3.12
- Anyone running Liferay DXP >= 7.4.13, <= 7.4.13.u8; 7.3.10-dxp-3; >= 7.2.10-dxp-15, <= 7.2.10-dxp-18
Vulnerability facts
- Affected
- com.liferay.portal:release.portal.bom >= 7.2.0, < 7.4.3.13-ga13; com.liferay.portal:release.dxp.bom >= 7.2.10.fp15, <= 7.2.10.fp18
- Fixed in
- 7.4.3.13-ga13, 7.4.13.u9
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.53% chance of exploitation in 30 days (percentile 38, 2026-11-26)
- CWE
- CWE-601
- Modified
Description
HtmlUtil.escapeRedirect in Liferay Portal 7.2.0 through 7.4.3.12, and older unsupported versions, and Liferay DXP 7.4 before update 9, 7.3 service pack 3, 7.2 fix pack 15 through 18, and older unsupported versions can be circumvented by using two forward slashes, which allows remote attackers to redirect users to arbitrary external URLs via the (1) 'redirect` parameter (2) `FORWARD_URL` parameter, and (3) others parameters that rely on HtmlUtil.escapeRedirect. This vulnerability is the result of an incomplete fix in CVE-2022-28977.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven com.liferay.portal:release.portal.bom | >= 7.2.0, < 7.4.3.13-ga13 | 7.4.3.13-ga13 | osv |
| Maven com.liferay.portal:release.dxp.bom | >= 7.2.10.fp15, <= 7.2.10.fp18 | 7.4.13.u9 | osv |
| Liferay Portal | >= 7.2.0, <= 7.4.3.12 | — | cvelist |
| Liferay DXP | >= 7.4.13, <= 7.4.13.u8; 7.3.10-dxp-3; >= 7.2.10-dxp-15, <= 7.2.10-dxp-18 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-25609. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-25609.md Affected: com.liferay.portal:release.portal.bom >= 7.2.0, < 7.4.3.13-ga13; com.liferay.portal:release.dxp.bom >= 7.2.10.fp15, <= 7.2.10.fp18 Fixed in: 7.4.3.13-ga13, 7.4.13.u9 Steps: 1. Search this machine and project for com.liferay.portal:release.portal.bom (Maven), com.liferay.portal:release.dxp.bom (Maven), Liferay Portal, Liferay DXP: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/liferay/liferay-portal/commit/3c5ee2054b44e4354cd2e53782914157ef2b5362
- https://github.com/liferay/liferay-portal/commit/5c9655c941b18d8948a0c38b2bc84f4a1f83543a
- https://github.com/liferay/liferay-portal/commit/66f3ae610c24f10a6950e75e0ca4c981935244ed
- https://github.com/liferay/liferay-portal/commit/702a1e35896681f04ec3c7c8075aa87d5e16a18d
- https://github.com/liferay/liferay-portal/commit/7aca15e7195a03243d5461fcf09cde0fa7de81f0
- https://github.com/liferay/liferay-portal/commit/dca931af71a3d9fbd896a25b92396df8458d2886
- https://github.com/liferay/liferay-portal/commit/f015ad20bd9ee1661ccff5fb48e03dd3a1ebf003
FAQ
Is CVE-2024-25609 being exploited?
There is no confirmed exploitation: CVE-2024-25609 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.53% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-25609?
Medium: CVSS 6.1 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2024-25609?
com.liferay.portal:release.portal.bom >= 7.2.0, < 7.4.3.13-ga13; com.liferay.portal:release.dxp.bom >= 7.2.10.fp15, <= 7.2.10.fp18.
Is there a fix for CVE-2024-25609?
Yes. Fixed in 7.4.3.13-ga13, 7.4.13.u9. Upgrade com.liferay.portal:release.portal.bom to 7.4.3.13-ga13 or later. Upgrade com.liferay.portal:release.dxp.bom to 7.4.13.u9 or later.
How do I check if I'm affected by CVE-2024-25609?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.