Vulnerabilities / CVE-2022-42120

critical

CVE-2022-42120

Liferay Portal and Liferay DXP Vulnerable to SQL Injection via the Fragment 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 Fragment module in Liferay Portal 7.3.3 through 7.4.3.16, and Liferay DXP 7.3 before update 4, and 7.4 before update 17 allows attackers to execute arbitrary SQL commands via a PortletPreferences' `namespace` attribute.

Affected packages and fixed versions

SourcePackageFixed in
maven::GitHub Security Advisory Mavencom.liferay.portal:release.dxp.bom, com.liferay:com.liferay.fragment.service7.3.10.u4, 7.4.13.u17 and 1 more
Show all 2 entries from 1 source
SourcePackageFixed in
maven::GitHub Security Advisory Mavencom.liferay.portal:release.dxp.bom7.3.10.u4, 7.4.13.u17
maven::GitHub Security Advisory Mavencom.liferay:com.liferay.fragment.service4.0.33

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.