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

Advisory record · `GHSA-548x-j6x6-hcv4`

- **Identifiers:** `GHSA-548x-j6x6-hcv4` · `CVE-2024-25608`
- **State:** Confirmed
- **Severity:** CVSS 6.1 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-601](https://cwe.mitre.org/data/definitions/601.html)
- **Tags:** [Open redirect](https://agentprime.io/advisories/tag/open-redirect.md)
- **Published:** 20 Feb 2024
- **Updated:** 29 Jul 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 20 Feb 2024, 12:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `com.liferay.portal:release.portal.bom` (Maven): affected `>=7.2.0, <7.4.3.19-ga19`; fixed in `7.4.3.19-ga19`
- `com.liferay.portal:release.dxp.bom` (Maven): affected `<7.2.10.fp19 || >=7.3.0, <7.3.10.u4 || >=7.4.0, <7.4.13.u19`; fixed in `7.2.10.fp19`, `7.3.10.u4`, `7.4.13.u19`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Liferay Portal 7.2.0 through 7.4.3.18 and Liferay DXP 7.2 before fix pack 19, 7.3 before update 4, and 7.4 before update 19 are affected. A remote attacker can bypass the HtmlUtil.escapeRedirect filter using the Unicode replacement character, redirecting users to arbitrary external URLs through parameters such as redirect. Upgrade Liferay Portal to 7.4.3.19-ga19 or Liferay DXP to 7.2.10.fp19, 7.3.10.u4, or 7.4.13.u19.

Written 7 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.1 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`, from CNA (Liferay)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0097, the 62nd percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:10 UTC: First seen by agentprime
- 31 Oct 2026, 15:10 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-548x-j6x6-hcv4)

## Sources

- [GitHub Advisory Database: GHSA-548x-j6x6-hcv4](https://github.com/advisories/GHSA-548x-j6x6-hcv4)
- [OSV: GHSA-548x-j6x6-hcv4](https://osv.dev/vulnerability/GHSA-548x-j6x6-hcv4)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-25608>
- <https://github.com/liferay/liferay-portal/commit/36adf82ef7a09c7035d4f19a1982dcde1ae3f6ae>
- <https://github.com/liferay/liferay-portal/commit/aea651fa5110934b6a00d93391fac87985e27786>
- <https://github.com/liferay/liferay-portal>
- <https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2024-25608>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-548x-j6x6-hcv4>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-548x-j6x6-hcv4/>. Everything for agents: <https://agentprime.io/llms.txt>.
