CVE-2022-28977 json
Liferay Portal and Liferay DXP HtmlUtil.escapeRedirect Can Be Circumvented
published 2022-09-22 4 y ago modified 2026-07-09 4 mo ago also GHSA-w397-9p2j-6x23 , EUVD-2022-33408
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven com.liferay.portal:release.portal.bom 7.4.3.4-ga4
- maven com.liferay.portal:release.dxp.bom 7.0.10.fp101, 7.1.10.fp25, 7.2.10.fp14
- maven com.liferay.portal:com.liferay.util.java 7.9.0
- liferay liferay_portal 7.4.3.4
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 17 mo ago
Exploit prediction
0.60% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| 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.1.10.fp17, <7.1.10.fp25 >=7.2.10.fp5, <7.2.10.fp14 |
7.0.10.fp101 7.1.10.fp25 7.2.10.fp14 |
| maven | com.liferay.portal:com.liferay.util.java | <7.9.0 |
7.9.0 |
Classification
- Weakness
-
- CWE-601 URL Redirection to Untrusted Site
References
-
portal.liferay.dev
/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-28977-htmlutil.escapered
patch, vendor-advisory
-
github.com
/liferay/liferay-portal/commit/242e8bcabe3e8767799d3d1e6c021a75b4ada11b
web
-
github.com
/liferay/liferay-portal/commit/6389885476414d3cd9e3092b4708906a5bdc8a48
web
-
github.com
/liferay/liferay-portal/commit/8aa3fd76f34d1a4562bd5b4f82931a0a124e31a8
web
-
nvd.nist.gov
/vuln/detail/CVE-2022-28977
advisory
-
github.com
/liferay/liferay-portal
package
-
liferay.atlassian.net
/browse/LPE-17327
web
-
liferay.dev
/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2022-28977?p_r_p_assetEntryId=121612
web
-
web.archive.org
/web/20220922060039/https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmV
web
-
liferay.com
web
Sources
- CVE List CVE-2022-28977
- GitHub Advisory GHSA-w397-9p2j-6x23
- NVD CVE-2022-28977
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.