Skip to content
Fencer Vulns
high 8.8

CVE-2022-42121 json

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

published 2022-11-15 3 y ago modified 2026-07-09 4 mo ago also GHSA-gxxj-fhmr-37j9 , EUVD-2022-45207

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

Summary

A SQL injection vulnerability in the Layout module in Liferay Portal 7.1.3 through 7.4.3.4, and Liferay DXP 7.1 before fix pack 27, 7.2 before fix pack 17, 7.3 before service pack 3, and 7.4 GA allows remote authenticated attackers to execute arbitrary SQL commands via a crafted payload injected into a page template's 'Name' field.

Patch / fix

  • maven com.liferay:com.liferay.layout.page.template.service 4.0.17
  • maven com.liferay.portal:release.dxp.bom 7.1.10.fp27, 7.2.10.fp17

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
18 mo ago

Exploit prediction

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

CVSS scores

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

Affected packages

ecosystem package affected fixed in
maven com.liferay:com.liferay.layout.page.template.service
<4.0.17
4.0.17
maven com.liferay.portal:release.dxp.bom
>=7.1.0, <7.1.10.fp27
>=7.2.0, <7.2.10.fp17
7.1.10.fp27
7.2.10.fp17

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.