Skip to content
Fencer Vulns
critical 9.8

CVE-2022-42120 json

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

published 2022-11-15 3 y ago modified 2026-07-09 4 mo ago also GHSA-r5fj-j449-vqw2 , EUVD-2022-45206

cvss
9.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.8%
EPSS 0.8% chance of exploitation in 30 days, percentile 56%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven com.liferay:com.liferay.fragment.service 4.0.33
  • maven com.liferay.portal:release.dxp.bom 7.3.10.u4, 7.4.13.u17

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
14 mo ago

Exploit prediction

0.80% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
maven com.liferay:com.liferay.fragment.service
<4.0.33
4.0.33
maven com.liferay.portal:release.dxp.bom
>=7.3.0, <7.3.10.u4
>=7.4.0, <7.4.13.u17
7.3.10.u4
7.4.13.u17

Classification

Weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.