6.1medium
Liferay Portal and Liferay DXP's HtmlUtil.escapeRedirect Can Be Circumvented via Replacement Character
- Severity
- 6.1medium CVSS:3.1 by Liferay
- Exploit likelihood
- 0.97% (higher than 62% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Liferay
- Also known as
- GHSA-548x-j6x6-hcv4
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Liferay Portal | from 7.2.0 up to 7.4.3.18 | CVE List |
| Liferay DXP | from 7.4.13 up to 7.4.13.u18, from 7.3.10 up to 7.3.10-dxp-3, from 7.2.10 up to 7.2.10-dxp-18 | CVE List |
| com.liferay.portal:release.portal.bom (Maven) | from 7.2.0 before 7.4.3.19-ga19 | GitHub Advisory Database |
| com.liferay.portal:release.dxp.bom (Maven) | before 7.2.10.fp19, from 7.3.0 before 7.3.10.u4, from 7.4.0 before 7.4.13.u19 | GitHub Advisory Database |
| liferay digital_experience_platform | before 7.2, 7.2, 7.3, 7.4 | NVD |
| liferay liferay_portal | before 7.4.3.19 | NVD |
All scores
| Liferay | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
HtmlUtil.escapeRedirect en Liferay Portal 7.2.0 a 7.4.3.18 y versiones anteriores no compatibles, y Liferay DXP 7.4 antes de la actualización 19, 7.3 antes de la actualización 4, 7.2 antes del fixpack 19 y versiones anteriores no compatibles se pueden eludir utilizando el 'REPLACEMENT CHARACTER' (U+FFFD), que permite a atacantes remotos redirigir a los usuarios a URL externas arbitrarias a través del (1) parámetro 'redirect` (2) parámetro `FORWARD_URL`, (3) parámetro `noSuchEntryRedirect` y (4) otros parámetros que dependen de HtmlUtil.escapeRedirect.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-25608 changed 2024-08-01 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-548x-j6x6-hcv4 changed 2025-07-29 | CC-BY-4.0 |
| NVD | CVE-2024-25608 changed 2026-06-17 | Public domain |