Vulnerabilities / CVE-2022-42122

critical

CVE-2022-42122

Liferay Portal and Liferay DXP Vulnerable to SQL Injection via Friendly URL Module

Published Modified CWE 89
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.

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.

Affected packages and fixed versions

SourcePackageFixed in
maven::GitHub Security Advisory Mavencom.liferay.portal:release.dxp.bom, com.liferay.portal:release.portal.bom, com.liferay:com.liferay.friendly.url.service7.3.10.u4 and 2 more
Show all 3 entries from 1 source
SourcePackageFixed in
maven::GitHub Security Advisory Mavencom.liferay.portal:release.dxp.bom7.3.10.u4
maven::GitHub Security Advisory Mavencom.liferay.portal:release.portal.bom7.4.0-ga1
maven::GitHub Security Advisory Mavencom.liferay:com.liferay.friendly.url.service4.0.3

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.