# Liferay Portal and Liferay DXP's HtmlUtil.escapeRedirect Can Be Circumvented via Two Forward Slashes

Advisory record · `GHSA-3qq5-wcrx-4h8r`

- **Identifiers:** `GHSA-3qq5-wcrx-4h8r` · `CVE-2024-25609`
- **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.13-ga13`; fixed in `7.4.3.13-ga13`
- `com.liferay.portal:release.dxp.bom` (Maven): affected `>=7.2.10.fp15, <=7.2.10.fp18 || >=7.4.0, <7.4.13.u9`; fixed in `7.4.13.u9`

## 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.12 and Liferay DXP 7.2 fix pack 15 through 18 and 7.4 before update 9 are affected, along with older unsupported versions. Because the HtmlUtil.escapeRedirect check can be bypassed using two forward slashes, a remote attacker can redirect users to arbitrary external URLs through the redirect and FORWARD_URL parameters and other parameters that rely on this function. Upgrade release.portal.bom to 7.4.3.13-ga13 or release.dxp.bom to 7.4.13.u9. The source gives few details on any workaround.

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.0036, the 29th 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-3qq5-wcrx-4h8r)

## Sources

- [GitHub Advisory Database: GHSA-3qq5-wcrx-4h8r](https://github.com/advisories/GHSA-3qq5-wcrx-4h8r)
- [OSV: GHSA-3qq5-wcrx-4h8r](https://osv.dev/vulnerability/GHSA-3qq5-wcrx-4h8r)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-25609>
- <https://github.com/liferay/liferay-portal/commit/3c5ee2054b44e4354cd2e53782914157ef2b5362>
- <https://github.com/liferay/liferay-portal/commit/5c9655c941b18d8948a0c38b2bc84f4a1f83543a>
- <https://github.com/liferay/liferay-portal/commit/66f3ae610c24f10a6950e75e0ca4c981935244ed>
- <https://github.com/liferay/liferay-portal/commit/702a1e35896681f04ec3c7c8075aa87d5e16a18d>
- <https://github.com/liferay/liferay-portal/commit/7aca15e7195a03243d5461fcf09cde0fa7de81f0>
- <https://github.com/liferay/liferay-portal/commit/dca931af71a3d9fbd896a25b92396df8458d2886>
- <https://github.com/liferay/liferay-portal/commit/f015ad20bd9ee1661ccff5fb48e03dd3a1ebf003>
- <https://github.com/liferay/liferay-portal>
- <https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2024-25609>

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-3qq5-wcrx-4h8r>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-3qq5-wcrx-4h8r/>. Everything for agents: <https://agentprime.io/llms.txt>.
