CVE-2022-28977 is a medium-severity (CVSS 6.1) Open Redirect vulnerability in com.liferay.portal:release.portal.bom. A fix is available for com.liferay.portal:release.portal.bom — see the affected versions and patch details below.
Liferay Portal and Liferay DXP HtmlUtil.escapeRedirect Can Be Circumvented
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2022-28977.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
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-ga4com.liferay.portal:release.portal.bom:7.4.3.4-ga4 |
| ☕Maven | com.liferay.portal:release.dxp.bom | ≥ 7.0.10.fp91&&< 7.0.10.fp101 | 7.0.10.fp101com.liferay.portal:release.dxp.bom:7.0.10.fp101 |
| ☕Maven | com.liferay.portal:release.dxp.bom | ≥ 7.1.10.fp17&&< 7.1.10.fp25 | 7.1.10.fp25com.liferay.portal:release.dxp.bom:7.1.10.fp25 |
| ☕Maven | com.liferay.portal:release.dxp.bom | ≥ 7.2.10.fp5&&< 7.2.10.fp14 | 7.2.10.fp14com.liferay.portal:release.dxp.bom:7.2.10.fp14 |
| ☕Maven | com.liferay.portal:com.liferay.util.java | all versions | 7.9.0com.liferay.portal:com.liferay.util.java:7.9.0 |
Affected Products
digital experience platformliferaydxpliferayliferay portalliferayDetection & 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, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
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 CVE-2022-28977 is resolved across your whole dependency graph.
Workarounds
Stop reflecting attacker-controlled destinations: resolve every redirect target against an allowlist of paths or hosts you own, prefer a server-side key over a full URL in the request, and reject absolute URLs entirely where the flow only ever needs a relative one.
Frequently Asked Questions
Is CVE-2022-28977 in your dependencies?
Find it across Maven, including transitive dependencies.