GitHub Advisoryadvisory · Maven
GHSA-548x-j6x6-hcv4 Liferay Portal and Liferay DXP's HtmlUtil.escapeRedirect Can Be Circumvented via Replacement Character
MEDIUM
Official page ↗
- Aliases
- CVE-2024-25608
- Ecosystem
- Maven
- Packages
- com.liferay.portal:release.portal.bom, com.liferay.portal:release.dxp.bom
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-601
- Reviewed
- 2025-07-29
Affected packages
• Maven com.liferay.portal:release.portal.bom: >= 7.2.0, < 7.4.3.19-ga19 → fixed in 7.4.3.19-ga19
• Maven com.liferay.portal:release.dxp.bom: < 7.2.10.fp19 → fixed in 7.2.10.fp19
• Maven com.liferay.portal:release.dxp.bom: >= 7.3.0, < 7.3.10.u4 → fixed in 7.3.10.u4
• Maven com.liferay.portal:release.dxp.bom: >= 7.4.0, < 7.4.13.u19 → fixed in 7.4.13.u19
Description
HtmlUtil.escapeRedirect in Liferay Portal 7.2.0 through 7.4.3.18, and older unsupported versions, and Liferay DXP 7.4 before update 19, 7.3 before update 4, 7.2 before fix pack 19, and older unsupported versions can be circumvented by using the 'REPLACEMENT CHARACTER' (U+FFFD), which allows remote attackers to redirect users to arbitrary external URLs via the (1) 'redirect` parameter (2) `FORWARD_URL` parameter, (3) `noSuchEntryRedirect` parameter, and (4) others parameters that rely on HtmlUtil.escapeRedirect.
Related
Alias · CVE (1)
- CVE-2024-25608 HtmlUtil.escapeRedirect in Liferay Portal 7.2.0 through 7.4.3.18, and older unsupported versions, and Liferay DXP 7.4 before update 19, 7.3… vulnerability
Weakness · CWE (1)
- CWE-601 URL Redirection to Untrusted Site weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-25608 advisory
- https://github.com/liferay/liferay-portal/commit/36adf82ef7a09c7035d4f19a1982dcde1ae3f6ae web
- https://github.com/liferay/liferay-portal/commit/aea651fa5110934b6a00d93391fac87985e27786 web
- https://github.com/liferay/liferay-portal package
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2024-25608 web