What’s Vulnerable › Vulnerabilities
CVE-2022-28977
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-09-22 · updated 2026-07-09
- Weakness: CWE-601
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) 'redirect` parameter (2) `FORWARD_URL` parameter, and (3) others parameters that rely on HtmlUtil.escapeRedirect.
Affected products
- Liferay Digital Experience Platform: 7.0, 7.0-fix_pack_100, 7.0-fix_pack_101, 7.0-fix_pack_91, 7.0-fix_pack_92, 7.0-fix_pack_93 (+27)
- Liferay DXP: 7.3, 7.3-sp1, 7.3-sp2
- Liferay Portal: from 7.3.1 before 7.4.3.4 — fixed in 7.4.3.4
How to fix
Upgrade to a fixed version: Liferay Portal 7.4.3.4. Check the vendor advisory for mitigations.
References
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-28977-htmlutil.escaperedirect-circumvention-with-multiple-forward-slash
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-28977-htmlutil.escaperedirect-circumvention-with-multiple-forward-slash
Get alerted when CVE-2022-28977 or the next vulnerability affects your stack