CVE-2022-42120
JSON

9.8critical

Liferay Portal and Liferay DXP Vulnerable to SQL Injection via the Fragment Module

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.89% (higher than 60% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-r5fj-j449-vqw2

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
com.liferay:com.liferay.fragment.service (Maven)before 4.0.33GitHub Advisory Database
com.liferay.portal:release.dxp.bom (Maven)from 7.3.0 before 7.3.10.u4, from 7.4.0 before 7.4.13.u17GitHub Advisory Database
liferay dxp7.3, 7.4NVD
liferay liferay_portalfrom 7.3.3 up to 7.4.3.16NVD

All scores

CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

A SQL injection vulnerability in the Fragment module before 4.0.33 from 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.

NVD (es)

Una vulnerabilidad de inyección SQL en el módulo Fragment en Liferay Portal 7.3.3 a 7.4.3.16, y Liferay DXP 7.3 antes de la actualización 4, y 7.4 antes de la actualización 17 permite a los atacantes ejecutar comandos SQL arbitrarios a través del atributo `namespace` de PortletPreferences.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-42120 changed 2026-07-09CVE Terms of Use
GitHub Advisory DatabaseGHSA-r5fj-j449-vqw2 changed 2025-09-05CC-BY-4.0
NVDCVE-2022-42120 changed 2026-07-09Public domain