All reports
High

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

Affected versions

Affected versions
>= 7.1.0, < 7.1.10.fp27
Fixed version
7.1.10.fp27
Affected versions
>= 7.2.0, < 7.2.10.fp17
Fixed version
7.2.10.fp17
Affected versions
< 4.0.17
Fixed version
4.0.17

Exploitation

CVE-2022-42121

Probability of exploitation in the next 30 days: 1.17%

FIRST EPSS · 2026-11-21

Description

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

Links