CVE-2022-42121
highpriority · track · 35EPSS 0.011 · 64 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (10)
Products and version ranges known to be affected.
- liferay digital experience platform= 7.1nvdUScpe:2.3:a:liferay:digital_experience_platform:*:*:*:*:*:*:*:*
- liferay digital experience platform= 7.2nvdUScpe:2.3:a:liferay:digital_experience_platform:*:*:*:*:*:*:*:*
- Maven com.liferay.portal:release.dxp.bom7.1.0 → 7.1.10.fp27osvUSpkg:maven/com.liferay.portal/release.dxp.bom
- Maven com.liferay.portal:release.dxp.bom7.2.0 → 7.2.10.fp17osvUSpkg:maven/com.liferay.portal/release.dxp.bom
- Maven com.liferay:com.liferay.layout.page.template.service< 4.0.17osvUSpkg:maven/com.liferay/com.liferay.layout.page.template.service
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-gxxj-fhmr-37j9Liferay Portal and Liferay DXP Vulnerable to SQL Injection via the Layout Module2022-11-15ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- http://liferay.comcnnvd
- https://cxsecurity.com/cveshow/CVE-2022-42121/cnnvd
- https://issues.liferay.com/browse/LPE-17414cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2022-42121cnnvd
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42121cnnvd
- https://issues.liferay.com/browse/LPE-17414enisa_euvd
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42121enisa_euvd
- https://issues.liferay.com/browse/LPE-17414Issue TrackingVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan