# CVE-2024-25608: Liferay Portal and Liferay DXP's HtmlUtil.escapeRedirect Can Be Circumvented via Replacement Character

- 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.97%, higher than 62% of CVEs (2026-12-01)
- Published: 2024-02-20T09:26:10.743Z
- Modified: 2026-06-17T07:16:15.677Z
- Also known as: GHSA-548x-j6x6-hcv4
- 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.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.

(As written by CVE List.)

## Affected

- Liferay Portal: from 7.2.0 up to 7.4.3.18
- 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
- com.liferay.portal:release.portal.bom (Maven): from 7.2.0 before 7.4.3.19-ga19
- 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
- liferay digital_experience_platform: before 7.2; 7.2; 7.3; 7.4
- liferay liferay_portal: before 7.4.3.19

## 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-25608> (vendor-advisory, web)
- <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)

## Sources

- CVE List: [CVE-2024-25608](https://www.cve.org/CVERecord?id=CVE-2024-25608), CVE Terms of Use, modified 2024-08-01
- GitHub Advisory Database: [GHSA-548x-j6x6-hcv4](https://github.com/advisories/GHSA-548x-j6x6-hcv4), CC-BY-4.0, modified 2025-07-29
- NVD: [CVE-2024-25608](https://nvd.nist.gov/vuln/detail/CVE-2024-25608), Public domain, modified 2026-06-17

---

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