# CVE-2024-25609: Liferay Portal and Liferay DXP's HtmlUtil.escapeRedirect Can Be Circumvented via Two Forward Slashes

- Severity: Medium 6.1 (CVSS:3.1, scored by Liferay) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2024-02-20T09:37:55.362Z
- Modified: 2026-06-17T07:16:15.947Z
- Also known as: GHSA-3qq5-wcrx-4h8r
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Liferay

## 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.

(As written by CVE List.)

## Affected

- Liferay Portal: from 7.2.0 up to 7.4.3.12
- Liferay DXP: from 7.4.13 up to 7.4.13.u8; 7.3.10-dxp-3; from 7.2.10-dxp-15 up to 7.2.10-dxp-18
- com.liferay.portal:release.portal.bom (Maven): from 7.2.0 before 7.4.3.13-ga13
- com.liferay.portal:release.dxp.bom (Maven): from 7.2.10.fp15 up to 7.2.10.fp18; from 7.4.0 before 7.4.13.u9
- liferay digital_experience_platform: before 7.2; 7.2; 7.3; 7.4
- liferay liferay_portal: before 7.4.3.13

## Every score

- Liferay: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2024-25609> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-25609> (advisory)
- <https://github.com/liferay/liferay-portal/commit/3c5ee2054b44e4354cd2e53782914157ef2b5362> (web)
- <https://github.com/liferay/liferay-portal/commit/5c9655c941b18d8948a0c38b2bc84f4a1f83543a> (web)
- <https://github.com/liferay/liferay-portal/commit/66f3ae610c24f10a6950e75e0ca4c981935244ed> (web)
- <https://github.com/liferay/liferay-portal/commit/702a1e35896681f04ec3c7c8075aa87d5e16a18d> (web)
- <https://github.com/liferay/liferay-portal/commit/7aca15e7195a03243d5461fcf09cde0fa7de81f0> (web)
- <https://github.com/liferay/liferay-portal/commit/dca931af71a3d9fbd896a25b92396df8458d2886> (web)
- <https://github.com/liferay/liferay-portal/commit/f015ad20bd9ee1661ccff5fb48e03dd3a1ebf003> (web)
- <https://github.com/liferay/liferay-portal> (package)

## Sources

- CVE List: [CVE-2024-25609](https://www.cve.org/CVERecord?id=CVE-2024-25609), CVE Terms of Use, modified 2024-08-23
- GitHub Advisory Database: [GHSA-3qq5-wcrx-4h8r](https://github.com/advisories/GHSA-3qq5-wcrx-4h8r), CC-BY-4.0, modified 2025-07-29
- NVD: [CVE-2024-25609](https://nvd.nist.gov/vuln/detail/CVE-2024-25609), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-25609 · Whole record: https://cve.day/CVE-2024-25609.json · Rebuilt by cve.day 2026-11-25T22:58:36.918Z
