Skip to content
Fencer Intel
medium 6.1

CVE-2024-25608 json

Liferay Portal and Liferay DXP's HtmlUtil.escapeRedirect Can Be Circumvented via Replacement Character

published 2y ago modified 4mo ago also GHSA-548x-j6x6-hcv4 , EUVD-2024-22931

cvss
6.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 62%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven com.liferay.portal:release.portal.bom 7.4.3.19-ga19
  • maven com.liferay.portal:release.dxp.bom 7.2.10.fp19, 7.3.10.u4, 7.4.13.u19
  • liferay digital_experience_platform 7.2
  • liferay liferay_portal 7.4.3.19

Is CVE-2024-25608 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2y ago

Exploit prediction

0.97% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-11).

CVSS scores

assigned by version score vector
CNA 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
maven com.liferay.portal:release.portal.bom
>=7.2.0, <7.4.3.19-ga19
7.4.3.19-ga19
maven com.liferay.portal:release.dxp.bom
<7.2.10.fp19
>=7.3.0, <7.3.10.u4
>=7.4.0, <7.4.13.u19
7.2.10.fp19
7.3.10.u4
7.4.13.u19

Affected products

  • Liferay Portal
  • Liferay DXP

Classification

Weakness
  • CWE-601 URL Redirection to Untrusted Site

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.