Actively exploited vulnerability / CVE-2024-25608
Liferay Portal and Liferay DXP: visitors can be sent to outside websites
This flaw lets an attacker create links that appear to point to your portal but send users to any external website the attacker chooses. Your customers or staff could end up on fake pages asking for passwords or data, trusting that the link came from your company. It is on the list of vulnerabilities used in real attacks kept by ENISA, the EU cybersecurity agency.
- Identifier
- CVE-2024-25608 · EUVD-2024-22931
- Severity
- Medium (6.1/10)
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 1.0% (FIRST's estimate for the next 30 days)
Does it concern you?
Liferay Portal and Liferay Digital Experience Platform (DXP) are platforms for websites, customer portals and intranets, typically used by organisations that run their own web portal. If your website or intranet is built on Liferay, this may concern you.
Affected are Liferay Portal 7.2.0 through 7.4.3.18 and older versions, and Liferay DXP 7.4 before update 19, 7.3 before update 4 and 7.2 before fix pack 19. The version is usually shown in the platform's administration panel; if unsure, ask the team or provider who manages your portal.
Affected products and versions
- Liferay Digital Experience Platform
- Liferay Portal
- digital experience platform: before 7.2
- liferay portal: before 7.4.3.19
What to do
Update Liferay Portal to version 7.4.3.19 or later, and for Liferay DXP install the update or fix pack Liferay lists for your version. If you run an older, unsupported version, plan a move to a current one.
Versions that contain the fix: 7.2, 7.4.3.19.
The official description
The text below is the description from the public database.
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.
Sources
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 3 December 2026.