GHSA-w397-9p2j-6x23
MEDIUMLiferay Portal and Liferay DXP HtmlUtil.escapeRedirect Can Be Circumvented
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
Blast Radius
com.liferay.portal:release.portal.bom☕com.liferay.portal:release.dxp.bom☕com.liferay.portal:release.dxp.bom☕com.liferay.portal:release.dxp.bom☕com.liferay.portal:com.liferay.util.javaReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
HtmlUtil.escapeRedirect in Liferay Portal 7.3.1 through 7.4.2, and Liferay DXP 7.0 fix pack 91 through 101, 7.1 fix pack 17 through 25, 7.2 fix pack 5 through 14, and 7.3 before service pack 3 can be circumvented by using multiple forward slashes, which allows remote attackers to redirect users to arbitrary external URLs via the (1) 'redirectparameter (2)FORWARD_URL` parameter, and (3) others parameters that rely on HtmlUtil.escapeRedirect.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | com.liferay.portal:release.portal.bom | ≥ 7.3.1-ga2&&< 7.4.3.4-ga4 | 7.4.3.4-ga4 |
| ☕Maven | com.liferay.portal:release.dxp.bom | ≥ 7.0.10.fp91&&< 7.0.10.fp101 | 7.0.10.fp101 |
| ☕Maven | com.liferay.portal:release.dxp.bom | ≥ 7.1.10.fp17&&< 7.1.10.fp25 | 7.1.10.fp25 |
| ☕Maven | com.liferay.portal:release.dxp.bom | ≥ 7.2.10.fp5&&< 7.2.10.fp14 | 7.2.10.fp14 |
| ☕Maven | com.liferay.portal:com.liferay.util.java | all versions | 7.9.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.liferay.portal:release.portal.bom. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.
Fix
Update com.liferay.portal:release.portal.bom to 7.4.3.4-ga4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-w397-9p2j-6x23 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 pinpoints whether GHSA-w397-9p2j-6x23 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.
Tailored to GHSA-w397-9p2j-6x23. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is GHSA-w397-9p2j-6x23 in your dependencies?
O3 detects GHSA-w397-9p2j-6x23 across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.