CVE-2024-25608 in Liferay Portal and 2 more products
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 redir...
Affects 3 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, can impact systems beyond the vulnerable component, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Liferay | Portal | < 7.4.3.19 ≥ 7.2.0, ≤ 7.4.3.18 |
| Liferay | Liferay Portal | < 7.4.3.19 ≥ 7.2.0, ≤ 7.4.3.18 |
| Liferay | Digital Experience Platform | 7.2 7.3 7.4 < 7.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-25608 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-190524-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Published | 2024-02-20 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-601: CWE-601
Related attack patterns (CAPEC)
CAPEC-178 Cross-Site Flashing via CWE-601
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in HtmlUtil.escapeRedirect in Liferay Portal and DXP versions prior to specified updates allows attackers to bypass intended URL redirection restrictions by using the 'REPLACEMENT CHARACTER' (U+FFFD), enabling redirection to arbitrary external URLs.
The attack is executed by exploiting the HtmlUtil.escapeRedirect function, which fails to properly sanitize the 'REPLACEMENT CHARACTER' (U+FFFD). This allows an attacker to craft a URL with this character in the 'redirect' parameter or 'FORWARD_' parameter, leading to an unintended redirection to an external site.
Questions
What is CVE-2024-25608?
A vulnerability in HtmlUtil.escapeRedirect in Liferay Portal and DXP versions prior to specified updates allows attackers to bypass intended URL redirection restrictions by using the 'REPLACEMENT CHARACTER' (U+FFFD), enabling redirection to arbitrary external URLs.
What is the CVSS score for CVE-2024-25608?
CVE-2024-25608 has CVSS 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. EPSS: 0.8%.
Is CVE-2024-25608 actively exploited?
No confirmed active exploitation of CVE-2024-25608 as of 2026-09-25.
How do I remediate CVE-2024-25608?
Priority: HIGH. Advisory: https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2024-25608 PSIRT: [email protected]
What systems are affected by CVE-2024-25608?
CVE-2024-25608 affects Liferay Portal, Liferay Portal, Digital Experience Platform.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Liferay","product":"Portal","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.